function MissingDependentModuleUnitTest::testFail

Ensure that this test will not be loaded despite its dependency.

File

drupal/core/modules/simpletest/lib/Drupal/simpletest/Tests/MissingDependentModuleUnitTest.php, line 28
Definition of Drupal\simpletest\Tests\MissingDependentModuleUnitTest.

Class

MissingDependentModuleUnitTest
Test required modules for tests.

Namespace

Drupal\simpletest\Tests

Code

function testFail() {
  $this
    ->fail(t('Running test with missing required module.'));
}