public function ClassLoaderTest::testLoadClassNamespaceCollision 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::testLoadClassNamespaceCollision()
@dataProvider getLoadClassNamespaceCollisionTests
File
- vendor/
symfony/ class-loader/ Tests/ ClassLoaderTest.php, line 134
Class
Namespace
Symfony\Component\ClassLoader\TestsCode
public function testLoadClassNamespaceCollision($namespaces, $className, $message) {
$loader = new ClassLoader();
$loader
->addPrefixes($namespaces);
$loader
->loadClass($className);
$this
->assertTrue(class_exists($className), $message);
}