public function DefaultFileLocatorTest::testGetAllClassNamesNonMatchingFileExtension

File

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

Class

DefaultFileLocatorTest

Namespace

Doctrine\Tests\Common\Persistence\Mapping

Code

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