public function TestBaseTest::testAssertNull in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/simpletest/tests/src/Unit/TestBaseTest.php \Drupal\Tests\simpletest\Unit\TestBaseTest::testAssertNull()
@covers ::assertNull @dataProvider providerAssertNull
File
- core/
modules/ simpletest/ tests/ src/ Unit/ TestBaseTest.php, line 262 - Contains \Drupal\Tests\simpletest\Unit\TestBaseTest.
Class
- TestBaseTest
- @coversDefaultClass \Drupal\simpletest\TestBase @group simpletest
Namespace
Drupal\Tests\simpletest\UnitCode
public function testAssertNull($expected, $value) {
$test_base = $this
->getTestBaseForAssertionTests('test_id');
$this
->assertEquals($expected, $this
->invokeProtectedMethod($test_base, 'assertNull', array(
$value,
)));
}