function TestBaseTest::testFail
@covers ::fail
File
-
core/
modules/ simpletest/ tests/ src/ Unit/ TestBaseTest.php, line 411
Class
- TestBaseTest
- @requires extension curl @coversDefaultClass \Drupal\simpletest\TestBase @group simpletest @group TestBase
Namespace
Drupal\Tests\simpletest\UnitCode
public function testFail() {
$test_base = $this->getTestBaseForAssertionTests('test_id');
$this->assertEquals(FALSE, $this->invokeProtectedMethod($test_base, 'fail', []));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.