public static function PHPUnit_Framework_Assert::isTrue

Returns a PHPUnit_Framework_Constraint_IsTrue matcher object.

@since Method available since Release 3.3.0

Return value

PHPUnit_Framework_Constraint_IsTrue

4 calls to PHPUnit_Framework_Assert::isTrue()
Framework_Assert_FunctionsTest::testLogicalAnd in drupal/core/vendor/phpunit/phpunit/Tests/Framework/Assert/FunctionsTest.php
Framework_Assert_FunctionsTest::testLogicalOr in drupal/core/vendor/phpunit/phpunit/Tests/Framework/Assert/FunctionsTest.php
Framework_Assert_FunctionsTest::testLogicalXor in drupal/core/vendor/phpunit/phpunit/Tests/Framework/Assert/FunctionsTest.php
PHPUnit_Framework_Assert::assertTrue in drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert.php
Asserts that a condition is true.

File

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

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

public static function isTrue() {
  return new PHPUnit_Framework_Constraint_IsTrue();
}