public function ClassMetadataFactoryTest::testGetInvalidAliasedMetadata 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::testGetInvalidAliasedMetadata()
@group DCOM-270
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ Mapping/ ClassMetadataFactoryTest.php, line 90
Class
Namespace
Doctrine\Tests\Common\Persistence\MappingCode
public function testGetInvalidAliasedMetadata() {
$this
->setExpectedException('Doctrine\\Common\\Persistence\\Mapping\\MappingException', 'Class \'Doctrine\\Tests\\Common\\Persistence\\Mapping\\ChildEntity:Foo\' does not exist');
$this->cmf
->getMetadataFor('prefix:ChildEntity:Foo');
}