public function ClassLoaderTest::testGetFallbackDirs in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/class-loader/Tests/ClassLoaderTest.php \Symfony\Component\ClassLoader\Tests\ClassLoaderTest::testGetFallbackDirs()
File
- vendor/
symfony/ class-loader/ Tests/ ClassLoaderTest.php, line 31
Class
Namespace
Symfony\Component\ClassLoader\TestsCode
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);
}