public function SymfonyFileLocatorTest::testGetPaths

File

drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/SymfonyFileLocatorTest.php, line 10

Class

SymfonyFileLocatorTest

Namespace

Doctrine\Tests\Common\Persistence\Mapping

Code

public function testGetPaths() {
  $path = __DIR__ . "/_files";
  $prefix = "Foo";
  $locator = new SymfonyFileLocator(array(
    $path => $prefix,
  ));
  $this
    ->assertEquals(array(
    $path,
  ), $locator
    ->getPaths());
  $locator = new SymfonyFileLocator(array(
    $path => $prefix,
  ));
  $this
    ->assertEquals(array(
    $path,
  ), $locator
    ->getPaths());
}