public static function PHPUnit_Framework_Assert::isTrue in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/Assert.php \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
3 calls to PHPUnit_Framework_Assert::isTrue()
- Framework_AssertTest::testAssertThatIsTrue in vendor/
phpunit/ phpunit/ tests/ Framework/ AssertTest.php - @covers PHPUnit_Framework_Assert::assertThat @covers PHPUnit_Framework_Assert::isTrue
- PHPUnit_Framework_Assert::assertNotTrue in vendor/
phpunit/ phpunit/ src/ Framework/ Assert.php - Asserts that a condition is not true.
- PHPUnit_Framework_Assert::assertTrue in vendor/
phpunit/ phpunit/ src/ Framework/ Assert.php - Asserts that a condition is true.
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Assert.php, line 2419
Class
- PHPUnit_Framework_Assert
- A set of assert methods.
Code
public static function isTrue() {
return new PHPUnit_Framework_Constraint_IsTrue();
}