You are here

public static function PHPUnit_Framework_Assert::isNull in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Assert.php \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 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 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 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 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 vendor/phpunit/phpunit/src/Framework/Assert.php
Asserts that a variable is not null.

... See full list

File

vendor/phpunit/phpunit/src/Framework/Assert.php, line 2463

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

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