You are here

public function ClassLoaderTest::testLoadFileNotContainingClassClass in Plug 7

File

lib/doctrine/common/tests/Doctrine/Tests/Common/ClassLoaderTest.php, line 88

Class

ClassLoaderTest

Namespace

Doctrine\Tests\Common

Code

public function testLoadFileNotContainingClassClass() {
  $classLoader = new ClassLoader('ClassLoaderTest', __DIR__);
  $classLoader
    ->setFileExtension('.class.php');
  $this
    ->assertFalse($classLoader
    ->loadClass('ClassLoaderTest\\EmptyFile'));
}