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