PHPUnit_Framework_TestFailure::isFailure PHP Method

isFailure() public method

Returns true if the thrown exception is of type AssertionFailedError.
public isFailure ( ) : boolean
return boolean
    public function isFailure()
    {
        return $this->thrownException() instanceof PHPUnit_Framework_AssertionFailedError;
    }