public function PrimitiveDataNormalizerTest::testNormalize 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::testNormalize()
- 10 core/modules/serialization/tests/src/Unit/Normalizer/PrimitiveDataNormalizerTest.php \Drupal\Tests\serialization\Unit\Normalizer\PrimitiveDataNormalizerTest::testNormalize()
@covers ::normalize @dataProvider dataProviderPrimitiveData
File
- core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ PrimitiveDataNormalizerTest.php, line 52
Class
- PrimitiveDataNormalizerTest
- @coversDefaultClass \Drupal\serialization\Normalizer\PrimitiveDataNormalizer @group serialization
Namespace
Drupal\Tests\serialization\Unit\NormalizerCode
public function testNormalize($primitive_data, $expected) {
$this
->assertSame($expected, $this->normalizer
->normalize($primitive_data));
}