You are here

public function ClassMetadataFactoryTest::testGetMetadataForAbsentClass in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/ClassMetadataFactoryTest.php \Doctrine\Tests\Common\Persistence\Mapping\ClassMetadataFactoryTest::testGetMetadataForAbsentClass()

File

vendor/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');
}