public static function PHPUnit_Framework_Assert::assertFalse

Asserts that a condition is false.

Parameters

boolean $condition:

string $message:

Throws

PHPUnit_Framework_AssertionFailedError

75 calls to PHPUnit_Framework_Assert::assertFalse()

File

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

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

public static function assertFalse($condition, $message = '') {
  self::assertThat($condition, self::isFalse(), $message);
}