Abstract
This abstract class provides finished expectation behavior for all actions based on the fact that it's subclass provides an implementation for getResult.
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 abstract class provides finished expectation behavior for all actions based on the fact that it's subclass provides an implementation for getResult.