public function ClassLoaderTest::testSupportsInterfaceAutoloading in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/ClassLoaderTest.php \Doctrine\Tests\Common\ClassLoaderTest::testSupportsInterfaceAutoloading()
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ ClassLoaderTest.php, line 97
Class
Namespace
Doctrine\Tests\CommonCode
public function testSupportsInterfaceAutoloading() {
$classLoader = new ClassLoader();
$classLoader
->setIncludePath(__DIR__);
$classLoader
->setFileExtension('.class.php');
$classLoader
->setNamespaceSeparator('_');
$this
->assertTrue($classLoader
->loadClass('ClassLoaderTest_InterfaceA'));
$this
->assertTrue(interface_exists('ClassLoaderTest_InterfaceA', false));
}