You are here

public function DefaultFileLocatorTest::testGetAllClassNamesNonMatchingFileExtension in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/DefaultFileLocatorTest.php \Doctrine\Tests\Common\Persistence\Mapping\DefaultFileLocatorTest::testGetAllClassNamesNonMatchingFileExtension()

File

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"));
}