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