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