You are here

public static function PHPUnit_Framework_Assert::isEmpty in Zircon Profile 8

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

Returns a PHPUnit_Framework_Constraint_IsEmpty matcher object.

@since Method available since Release 3.5.0

Return value

PHPUnit_Framework_Constraint_IsEmpty

3 calls to PHPUnit_Framework_Assert::isEmpty()
Framework_AssertTest::testAssertThatIsEmpty in vendor/phpunit/phpunit/tests/Framework/AssertTest.php
@covers PHPUnit_Framework_Assert::assertThat @covers PHPUnit_Framework_Assert::isEmpty
PHPUnit_Framework_Assert::assertEmpty in vendor/phpunit/phpunit/src/Framework/Assert.php
Asserts that a variable is empty.
PHPUnit_Framework_Assert::assertNotEmpty in vendor/phpunit/phpunit/src/Framework/Assert.php
Asserts that a variable is not empty.

File

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

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

public static function isEmpty() {
  return new PHPUnit_Framework_Constraint_IsEmpty();
}