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