You are here

public function ClassMetadataFactoryTest::testGetMetadataForAbsentClass in Plug 7

File

lib/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/ClassMetadataFactoryTest.php, line 42

Class

ClassMetadataFactoryTest

Namespace

Doctrine\Tests\Common\Persistence\Mapping

Code

public function testGetMetadataForAbsentClass() {
  $this
    ->setExpectedException('Doctrine\\Common\\Persistence\\Mapping\\MappingException');
  $this->cmf
    ->getMetadataFor(__NAMESPACE__ . '\\AbsentClass');
}