public function PhpUnitAutoloaderTest::testPhpUnitTestClassesLoading in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/simpletest/tests/src/Unit/PhpUnitAutoloaderTest.php \Drupal\Tests\simpletest\Unit\PhpUnitAutoloaderTest::testPhpUnitTestClassesLoading()
Test loading of classes provided by test sub modules.
File
- core/
modules/ simpletest/ tests/ src/ Unit/ PhpUnitAutoloaderTest.php, line 22 - Contains \Drupal\Tests\simpletest\Unit\PhpUnitAutoloaderTest.
Class
- PhpUnitAutoloaderTest
- Tests that classes are correctly loaded during PHPUnit initialization.
Namespace
Drupal\Tests\simpletest\UnitCode
public function testPhpUnitTestClassesLoading() {
$this
->assertTrue(class_exists('\\Drupal\\phpunit_test\\PhpUnitTestDummyClass'), 'Class provided by test module was not autoloaded.');
}