public function SymfonyFileLocatorTest::testFindMappingFile in Plug 7
File
- lib/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ Mapping/ SymfonyFileLocatorTest.php, line 150
Class
Namespace
Doctrine\Tests\Common\Persistence\MappingCode
public function testFindMappingFile() {
$path = __DIR__ . "/_files";
$prefix = "Foo";
$locator = new SymfonyFileLocator(array(
$path => $prefix,
), ".yml");
$this
->assertEquals(__DIR__ . "/_files/stdClass.yml", $locator
->findMappingFile("Foo\\stdClass"));
}