public function assert($assertion, $message)
    {
        // Increment the assertion count
        $this->test->incrementAssertionCount();

        $assertion = $this->negative ? !((bool) $assertion) : (bool) $assertion;

        if ($assertion === false) {
            return call_user_func_array([$this, 'fail'], $message);
        }

        return true;
    }
public function assert($assertion, $message)
    {
        // Increment the assertion count
        $this->test->incrementAssertionCount();

        $assertion = $this->negative ? !((bool) $assertion) : (bool) $assertion;

        if ($assertion === false) {
            return call_user_func_array([$this, 'fail'], $message);
        }

        return true;
    }
public function assert ( $ assertion , $ message ) { // Increment the assertion count $ this -> test -> incrementAssertionCount ( ) ; $ assertion = $ this -> negative ? ! ( ( bool ) $ assertion ) : ( bool ) $ assertion ; if ( $ assertion === false ) { return call_user_func_array ( [ $ this , 'fail' ] , $ message ) ; } return true ; }
Check the resolution of a function.

@param bool  $assertion The result of the assertion
@param array $message   An array containing a failure message and
variables to substitute into it

@return bool
Check the resolution of a function .