You are here

public static function PHPUnit_Framework_Assert::assertNotTrue in Zircon Profile 8

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

Asserts that a condition is not true.

Parameters

bool $condition:

string $message:

Throws

PHPUnit_Framework_AssertionFailedError

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

File

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

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

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