public function ClassMetadataFactoryTest::testGetInvalidAliasedMetadata in Plug 7
@group DCOM-270
File
- lib/
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');
}