public function ClassMetadataFactoryTest::testWillFailOnFallbackFailureWithNotLoadedMetadata 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::testWillFailOnFallbackFailureWithNotLoadedMetadata()
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ Mapping/ ClassMetadataFactoryTest.php, line 121
Class
Namespace
Doctrine\Tests\Common\Persistence\MappingCode
public function testWillFailOnFallbackFailureWithNotLoadedMetadata() {
$this->cmf->fallbackCallback = function () {
return null;
};
$this->cmf->metadata = null;
$this
->setExpectedException('Doctrine\\Common\\Persistence\\Mapping\\MappingException');
$this->cmf
->getMetadataFor('Foo');
}