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