You are here

function assertFalse in Zircon Profile 8

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

Asserts that a condition is false.

Parameters

bool $condition:

string $message:

Throws

PHPUnit_Framework_AssertionFailedError

3 string references to 'assertFalse'
CustomBooleanTest::testCustomOption in core/modules/views_ui/src/Tests/CustomBooleanTest.php
Tests the setting and output of custom labels for boolean values.
CustomBooleanTest::testCustomOptionTemplate in core/modules/views_ui/src/Tests/CustomBooleanTest.php
Tests the setting and output of custom labels for boolean values.
TestBaseTest::testAssertFalse in core/modules/simpletest/tests/src/Unit/TestBaseTest.php
@covers ::assertFalse @dataProvider providerAssertTrue

File

vendor/phpunit/phpunit/src/Framework/Assert/Functions.php, line 668

Code

function assertFalse($condition, $message = '') {
  return call_user_func_array('PHPUnit_Framework_Assert::assertFalse', func_get_args());
}