You are here

function assertEmpty in Zircon Profile 8

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

Asserts that a variable is empty.

Parameters

mixed $actual:

string $message:

Throws

PHPUnit_Framework_AssertionFailedError

File

vendor/phpunit/phpunit/src/Framework/Assert/Functions.php, line 602

Code

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