You are here

public function LegacyUniversalClassLoaderTest::testRegisterPrefixFallback in Zircon Profile 8.0

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

File

vendor/symfony/class-loader/Tests/LegacyUniversalClassLoaderTest.php, line 110

Class

LegacyUniversalClassLoaderTest
@group legacy

Namespace

Symfony\Component\ClassLoader\Tests

Code

public function testRegisterPrefixFallback() {
  $loader = new UniversalClassLoader();
  $loader
    ->registerPrefixFallback(__DIR__ . DIRECTORY_SEPARATOR . 'Fixtures/fallback');
  $this
    ->assertEquals(array(
    __DIR__ . DIRECTORY_SEPARATOR . 'Fixtures/fallback',
  ), $loader
    ->getPrefixFallbacks());
}