public function ClassLoaderTest::testLoadFileNotContainingClassClass 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::testLoadFileNotContainingClassClass()
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ ClassLoaderTest.php, line 88
Class
Namespace
Doctrine\Tests\CommonCode
public function testLoadFileNotContainingClassClass() {
$classLoader = new ClassLoader('ClassLoaderTest', __DIR__);
$classLoader
->setFileExtension('.class.php');
$this
->assertFalse($classLoader
->loadClass('ClassLoaderTest\\EmptyFile'));
}