public function LegacyUniversalClassLoaderTest::testLoadClassNamespaceCollision in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/class-loader/Tests/LegacyUniversalClassLoaderTest.php \Symfony\Component\ClassLoader\Tests\LegacyUniversalClassLoaderTest::testLoadClassNamespaceCollision()
@dataProvider getLoadClassNamespaceCollisionTests
File
- vendor/
symfony/ class-loader/ Tests/ LegacyUniversalClassLoaderTest.php, line 127
Class
- LegacyUniversalClassLoaderTest
- @group legacy
Namespace
Symfony\Component\ClassLoader\TestsCode
public function testLoadClassNamespaceCollision($namespaces, $className, $message) {
$loader = new UniversalClassLoader();
$loader
->registerNamespaces($namespaces);
$this
->assertTrue($loader
->loadClass($className));
$this
->assertTrue(class_exists($className), $message);
}