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