public static function 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

2 calls to PHPUnit_Framework_Assert::isEmpty()
PHPUnit_Framework_Assert::assertEmpty in drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert.php
Asserts that a variable is empty.
PHPUnit_Framework_Assert::assertNotEmpty in drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert.php
Asserts that a variable is not empty.

File

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

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

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