function assertNull in Zircon Profile 8
Same name and namespace in other branches
Asserts that a variable is null.
Parameters
mixed $actual:
string $message:
2 string references to 'assertNull'
- TestBaseTest::testAssertNull in core/
modules/ simpletest/ tests/ src/ Unit/ TestBaseTest.php - @covers ::assertNull @dataProvider providerAssertNull
- UserValidationTest::testUsernames in core/
modules/ user/ src/ Tests/ UserValidationTest.php - Tests user name validation.
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Assert/ Functions.php, line 1167
Code
function assertNull($actual, $message = '') {
return call_user_func_array('PHPUnit_Framework_Assert::assertNull', func_get_args());
}