PHPUnit_Framework_Assert::isTrue PHP Method

isTrue() public static method

Returns a PHPUnit_Framework_Constraint_IsTrue matcher object.
public static isTrue ( ) : PHPUnit_Framework_Constraint_IsTrue
return PHPUnit_Framework_Constraint_IsTrue
    public static function isTrue()
    {
        return new PHPUnit_Framework_Constraint_IsTrue();
    }

Usage Example

Example #1
0
/**
 * Returns a PHPUnit_Framework_Constraint_IsTrue matcher object.
 *
 * @return PHPUnit_Framework_Constraint_IsTrue
 * @since  Method available since Release 3.3.0
 */
function isTrue()
{
    return PHPUnit_Framework_Assert::isTrue();
}
All Usage Examples Of PHPUnit_Framework_Assert::isTrue
PHPUnit_Framework_Assert