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/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/ClassMetadataFactoryTest.php \Doctrine\Tests\Common\Persistence\Mapping\ClassMetadataFactoryTest::testGetMetadataFor()
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ Mapping/ ClassMetadataFactoryTest.php, line 34
Class
Namespace
Doctrine\Tests\Common\Persistence\MappingCode
public function testGetMetadataFor() {
$metadata = $this->cmf
->getMetadataFor('stdClass');
$this
->assertInstanceOf('Doctrine\\Common\\Persistence\\Mapping\\ClassMetadata', $metadata);
$this
->assertTrue($this->cmf
->hasMetadataFor('stdClass'));
}