You are here

public function LegacyUniversalClassLoaderTest::testRegisterNamespaceFallback in Zircon Profile 8

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

File

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

Class

LegacyUniversalClassLoaderTest
@group legacy

Namespace

Symfony\Component\ClassLoader\Tests

Code

public function testRegisterNamespaceFallback() {
  $loader = new UniversalClassLoader();
  $loader
    ->registerNamespaceFallback(__DIR__ . DIRECTORY_SEPARATOR . 'Fixtures/Namespaced/fallback');
  $this
    ->assertEquals(array(
    __DIR__ . DIRECTORY_SEPARATOR . 'Fixtures/Namespaced/fallback',
  ), $loader
    ->getNamespaceFallbacks());
}