public function DefaultFileLocatorTest::testGetPaths in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/DefaultFileLocatorTest.php \Doctrine\Tests\Common\Persistence\Mapping\DefaultFileLocatorTest::testGetPaths()
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ Mapping/ DefaultFileLocatorTest.php, line 10
Class
Namespace
Doctrine\Tests\Common\Persistence\MappingCode
public function testGetPaths() {
$path = __DIR__ . "/_files";
$locator = new DefaultFileLocator(array(
$path,
));
$this
->assertEquals(array(
$path,
), $locator
->getPaths());
$locator = new DefaultFileLocator($path);
$this
->assertEquals(array(
$path,
), $locator
->getPaths());
}