You are here

function assertNotNull in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Assert/Functions.php \assertNotNull()

Asserts that a variable is not null.

Parameters

mixed $actual:

string $message:

2 string references to 'assertNotNull'
TestBaseTest::testAssertNotNull in core/modules/simpletest/tests/src/Unit/TestBaseTest.php
@covers ::assertNotNull @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 1084

Code

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