public function DefaultFileLocatorTest::testFindMappingFileNotFound in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/DefaultFileLocatorTest.php \Doctrine\Tests\Common\Persistence\Mapping\DefaultFileLocatorTest::testFindMappingFileNotFound()
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ Mapping/ DefaultFileLocatorTest.php, line 46
Class
Namespace
Doctrine\Tests\Common\Persistence\MappingCode
public function testFindMappingFileNotFound() {
$path = __DIR__ . "/_files";
$locator = new DefaultFileLocator(array(
$path,
), ".yml");
$this
->setExpectedException('Doctrine\\Common\\Persistence\\Mapping\\MappingException', "No mapping file found named 'stdClass2.yml' for class 'stdClass2'");
$locator
->findMappingFile('stdClass2');
}