You are here

public function ClassLoaderTest::testGetFallbackDirs in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/class-loader/Tests/ClassLoaderTest.php \Symfony\Component\ClassLoader\Tests\ClassLoaderTest::testGetFallbackDirs()

File

vendor/symfony/class-loader/Tests/ClassLoaderTest.php, line 31

Class

ClassLoaderTest

Namespace

Symfony\Component\ClassLoader\Tests

Code

public function testGetFallbackDirs() {
  $loader = new ClassLoader();
  $loader
    ->addPrefix(null, __DIR__ . DIRECTORY_SEPARATOR . 'Fixtures');
  $loader
    ->addPrefix(null, __DIR__ . DIRECTORY_SEPARATOR . 'Fixtures');
  $fallback_dirs = $loader
    ->getFallbackDirs();
  $this
    ->assertCount(2, $fallback_dirs);
}