function PrimitiveDataNormalizerTest::testSupportsNormalization
Same name in other branches
- 9 core/modules/serialization/tests/src/Unit/Normalizer/PrimitiveDataNormalizerTest.php \Drupal\Tests\serialization\Unit\Normalizer\PrimitiveDataNormalizerTest::testSupportsNormalization()
- 10 core/modules/serialization/tests/src/Unit/Normalizer/PrimitiveDataNormalizerTest.php \Drupal\Tests\serialization\Unit\Normalizer\PrimitiveDataNormalizerTest::testSupportsNormalization()
- 11.x core/modules/serialization/tests/src/Unit/Normalizer/PrimitiveDataNormalizerTest.php \Drupal\Tests\serialization\Unit\Normalizer\PrimitiveDataNormalizerTest::testSupportsNormalization()
@covers ::supportsNormalization @dataProvider dataProviderPrimitiveData
File
-
core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ PrimitiveDataNormalizerTest.php, line 36
Class
- PrimitiveDataNormalizerTest
- @coversDefaultClass \Drupal\serialization\Normalizer\PrimitiveDataNormalizer @group serialization
Namespace
Drupal\Tests\serialization\Unit\NormalizerCode
public function testSupportsNormalization($primitive_data, $expected) {
$this->assertTrue($this->normalizer
->supportsNormalization($primitive_data));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.