You are here

public static function PHPUnit_Framework_Assert::assertFalse in Zircon Profile 8

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

Asserts that a condition is false.

Parameters

bool $condition:

string $message:

Throws

PHPUnit_Framework_AssertionFailedError

114 calls to PHPUnit_Framework_Assert::assertFalse()
BlacklistTest::testGlobalVariableThatIsNotBlacklistedIsNotTreatedAsBlacklisted in vendor/sebastian/global-state/tests/BlacklistTest.php
BlacklistTest::testStaticAttributeThatIsNotBlacklistedIsNotTreatedAsBlacklisted in vendor/sebastian/global-state/tests/BlacklistTest.php
ContextTest::testContainsNotFound in vendor/sebastian/recursion-context/tests/ContextTest.php
@covers SebastianBergmann\RecursionContext\Context::contains @dataProvider valuesProvider
CountTest::testCountDoesNotChangeIteratorKey in vendor/phpunit/phpunit/tests/Framework/Constraint/CountTest.php
DataProviderFilterTest::testFalse in vendor/phpunit/phpunit/tests/_files/DataProviderFilterTest.php
@dataProvider falseProvider

... See full list

File

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

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

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