public function ClassLoaderTest::testGetClassLoader in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/ClassLoaderTest.php \Doctrine\Tests\Common\ClassLoaderTest::testGetClassLoader()
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ ClassLoaderTest.php, line 37
Class
Namespace
Doctrine\Tests\CommonCode
public function testGetClassLoader() {
$cl = new ClassLoader('ClassLoaderTest', __DIR__);
$cl
->register();
$this
->assertTrue(ClassLoader::getClassLoader('ClassLoaderTest\\ClassD') instanceof \Doctrine\Common\ClassLoader);
$this
->assertNull(ClassLoader::getClassLoader('This\\Class\\Does\\Not\\Exist'));
$cl
->unregister();
}