function assertFalse

Asserts that a condition is false.

Parameters

boolean $condition:

string $message:

Throws

PHPUnit_Framework_AssertionFailedError

1 string reference to 'assertFalse'
CustomBooleanTest::testCustomOption in drupal/core/modules/views_ui/lib/Drupal/views_ui/Tests/CustomBooleanTest.php
Tests the setting and output of custom labels for boolean values.

File

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

Code

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