public function CustomNormalizerTest::testSupportsDenormalization in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/serializer/Tests/Normalizer/CustomNormalizerTest.php \Symfony\Component\Serializer\Tests\Normalizer\CustomNormalizerTest::testSupportsDenormalization()
File
- vendor/
symfony/ serializer/ Tests/ Normalizer/ CustomNormalizerTest.php, line 63
Class
Namespace
Symfony\Component\Serializer\Tests\NormalizerCode
public function testSupportsDenormalization() {
$this
->assertTrue($this->normalizer
->supportsDenormalization(array(), 'Symfony\\Component\\Serializer\\Tests\\Fixtures\\ScalarDummy'));
$this
->assertFalse($this->normalizer
->supportsDenormalization(array(), 'stdClass'));
$this
->assertTrue($this->normalizer
->supportsDenormalization(array(), 'Symfony\\Component\\Serializer\\Tests\\Fixtures\\DenormalizableDummy'));
}