public function ClassMetadataFactoryTest::testGetMetadataFor in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/serializer/Tests/Mapping/Factory/ClassMetadataFactoryTest.php \Symfony\Component\Serializer\Tests\Mapping\Factory\ClassMetadataFactoryTest::testGetMetadataFor()
- 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/ClassMetadataFactoryTest.php \Doctrine\Tests\Common\Persistence\Mapping\ClassMetadataFactoryTest::testGetMetadataFor()
Same name and namespace in other branches
- 8.0 vendor/symfony/serializer/Tests/Mapping/Factory/ClassMetadataFactoryTest.php \Symfony\Component\Serializer\Tests\Mapping\Factory\ClassMetadataFactoryTest::testGetMetadataFor()
File
- vendor/
symfony/ serializer/ Tests/ Mapping/ Factory/ ClassMetadataFactoryTest.php, line 31
Class
- ClassMetadataFactoryTest
- @author Kévin Dunglas <dunglas@gmail.com>
Namespace
Symfony\Component\Serializer\Tests\Mapping\FactoryCode
public function testGetMetadataFor() {
$factory = new ClassMetadataFactory(new AnnotationLoader(new AnnotationReader()));
$classMetadata = $factory
->getMetadataFor('Symfony\\Component\\Serializer\\Tests\\Fixtures\\GroupDummy');
$this
->assertEquals(TestClassMetadataFactory::createClassMetadata(true, true), $classMetadata);
}