public function PrimitiveDataNormalizerTest::testSupportsNormalization in Drupal 9
Same name and namespace in other branches
- 8 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()
@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));
}