You are here

public static function PHPUnit_Framework_Assert::assertNotFalse in Zircon Profile 8

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

Asserts that a condition is not false.

Parameters

bool $condition:

string $message:

Throws

PHPUnit_Framework_AssertionFailedError

1 call to PHPUnit_Framework_Assert::assertNotFalse()
Framework_AssertTest::testAssertNotFalse in vendor/phpunit/phpunit/tests/Framework/AssertTest.php
@covers PHPUnit_Framework_Assert::assertNotFalse

File

vendor/phpunit/phpunit/src/Framework/Assert.php, line 953

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

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