This interface represents an expectation after a matcher has been executed and the result can be accessed.
If the result of the expectation is true, run the given function.
If the result of the expectation is true, run the first of the functions, if false, run the second one.
Return's the result of the expectancy as a boolean.
true if the value satisfied the expectation, falseotherwise.
true
false
If the result of the expectation is false, run the given function.
If the result of the expectation is false, throw the given error.
If the result of the expectation is false, return the given value.
This interface represents an expectation after a matcher has been executed and the result can be accessed.