protected function XAutoloadWebTestCase::assertClassExists in X Autoload 7.4
Same name and namespace in other branches
- 7.5 lib/Drupal/xautoload/Tests/XAutoloadWebTestCase.php \Drupal\xautoload\Tests\XAutoloadWebTestCase::assertClassExists()
- 7.3 lib/Drupal/xautoload/Tests/XAutoloadWebTestCase.php \Drupal\xautoload\Tests\XAutoloadWebTestCase::assertClassExists()
Assert that a class is defined.
Parameters
string $class:
File
- lib/
Drupal/ xautoload/ Tests/ XAutoloadWebTestCase.php, line 227
Class
Namespace
Drupal\xautoload\TestsCode
protected function assertClassExists($class) {
$this
->assertTrue(class_exists($class), "Class '{$class}' must exist.");
}