function assertEmpty

Asserts that a variable is empty.

Parameters

mixed $actual:

string $message:

Throws

PHPUnit_Framework_AssertionFailedError

File

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

Code

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