public static function PHPUnit_Framework_Assert::isNull

Returns a PHPUnit_Framework_Constraint_IsNull matcher object.

@since Method available since Release 3.3.0

Return value

PHPUnit_Framework_Constraint_IsNull

6 calls to PHPUnit_Framework_Assert::isNull()
Framework_ConstraintTest::testConstraintIsNotNull in drupal/core/vendor/phpunit/phpunit/Tests/Framework/ConstraintTest.php
@covers PHPUnit_Framework_Constraint_IsNull @covers PHPUnit_Framework_Constraint_Not @covers PHPUnit_Framework_Assert::isNull @covers PHPUnit_Framework_Assert::logicalNot @covers PHPUnit_Framework_Constraint::count @covers…
Framework_ConstraintTest::testConstraintIsNotNull2 in drupal/core/vendor/phpunit/phpunit/Tests/Framework/ConstraintTest.php
@covers PHPUnit_Framework_Constraint_IsNull @covers PHPUnit_Framework_Constraint_Not @covers PHPUnit_Framework_Assert::isNull @covers PHPUnit_Framework_Assert::logicalNot @covers PHPUnit_Framework_TestFailure::exceptionToString
Framework_ConstraintTest::testConstraintIsNull in drupal/core/vendor/phpunit/phpunit/Tests/Framework/ConstraintTest.php
@covers PHPUnit_Framework_Constraint_IsNull @covers PHPUnit_Framework_Assert::isNull @covers PHPUnit_Framework_Constraint::count @covers PHPUnit_Framework_TestFailure::exceptionToString
Framework_ConstraintTest::testConstraintIsNull2 in drupal/core/vendor/phpunit/phpunit/Tests/Framework/ConstraintTest.php
@covers PHPUnit_Framework_Constraint_IsNull @covers PHPUnit_Framework_Assert::isNull @covers PHPUnit_Framework_TestFailure::exceptionToString
PHPUnit_Framework_Assert::assertNotNull in drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert.php
Asserts that a variable is not NULL.

... See full list

File

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

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

public static function isNull() {
  return new PHPUnit_Framework_Constraint_IsNull();
}