public function DriverChainTest::testLoadMetadata_NoDelegatorFound_ThrowsMappingException in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/ChainDriverTest.php \Doctrine\Tests\Common\Persistence\Mapping\DriverChainTest::testLoadMetadata_NoDelegatorFound_ThrowsMappingException()
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ Mapping/ ChainDriverTest.php, line 40
Class
Namespace
Doctrine\Tests\Common\Persistence\MappingCode
public function testLoadMetadata_NoDelegatorFound_ThrowsMappingException() {
$className = 'Doctrine\\Tests\\Common\\Persistence\\Mapping\\DriverChainEntity';
$classMetadata = $this
->getMock('Doctrine\\Common\\Persistence\\Mapping\\ClassMetadata');
$chain = new MappingDriverChain();
$this
->setExpectedException('Doctrine\\Common\\Persistence\\Mapping\\MappingException');
$chain
->loadMetadataForClass($className, $classMetadata);
}