BasicResultOfFail
A basic implementation of a result of an always failing test.
Author
Dustin Glaser
Constructors
Link copied to clipboard
public void BasicResultOfFail(Environment environment, Fail test, Actual actual, Throwable exception)
Constructs a new result with the given environment, test and exception.
Types
Link copied to clipboard
public class Builder extends BasicResult.Builder<RT, AT, TT, ET, BT> implements ResultOfFail.Builder
Functions
Link copied to clipboard
If this result is not successful due to an exception, this method returns the causing exception.
Link copied to clipboard
If this result is not successful, this method throws an AssertionFailedError informing about the failure.
Link copied to clipboard
Returns the expected behavior of this result.
Link copied to clipboard
Returns if the test was successful.