public function DefaultFileLocatorTest::testUniquePaths

File

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

Class

DefaultFileLocatorTest

Namespace

Doctrine\Tests\Common\Persistence\Mapping

Code

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