public function ClassLoaderTest::testLoadFileNotContainingClassClass in Plug 7
File
- lib/
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'));
}