You are here

public function ClassLoaderTest::testLoadNonExistingClass in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/ClassLoaderTest.php \Doctrine\Tests\Common\ClassLoaderTest::testLoadNonExistingClass()

File

vendor/doctrine/common/tests/Doctrine/Tests/Common/ClassLoaderTest.php, line 81

Class

ClassLoaderTest

Namespace

Doctrine\Tests\Common

Code

public function testLoadNonExistingClass() {
  $classLoader = new ClassLoader('ClassLoaderTest', __DIR__);
  $this
    ->assertFalse($classLoader
    ->loadClass('ClassLoaderTest\\Non\\Existing\\ClassName'));
}