public static function PHPUnit_Framework_Assert::fail

Fails a test with the given message.

Parameters

string $message:

Throws

PHPUnit_Framework_AssertionFailedError

238 calls to PHPUnit_Framework_Assert::fail()

File

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

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

public static function fail($message = '') {
  throw new PHPUnit_Framework_AssertionFailedError($message);
}