function assertNotNull

Asserts that a variable is not NULL.

Parameters

mixed $actual:

string $message:

1 string reference to 'assertNotNull'
UserValidationTest::testUsernames in drupal/core/modules/user/lib/Drupal/user/Tests/UserValidationTest.php

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php, line 1069

Code

function assertNotNull($actual, $message = '') {
  return call_user_func_array('PHPUnit_Framework_Assert::assertNotNull', func_get_args());
}