public function ClassMetadataFactoryTest::testGetAliasedMetadata in Zircon Profile 8
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::testGetAliasedMetadata()
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ Mapping/ ClassMetadataFactoryTest.php, line 79
Class
Namespace
Doctrine\Tests\Common\Persistence\MappingCode
public function testGetAliasedMetadata() {
$this->cmf
->getMetadataFor('prefix:ChildEntity');
$this
->assertTrue($this->cmf
->hasMetadataFor(__NAMESPACE__ . '\\ChildEntity'));
$this
->assertTrue($this->cmf
->hasMetadataFor('prefix:ChildEntity'));
}