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