function assertNotEmpty

Asserts that a variable is not empty.

Parameters

mixed $actual:

string $message:

Throws

PHPUnit_Framework_AssertionFailedError

File

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

Code

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