Returns the result of applying the wrapped PartialFunction
to the passed input, if it is defined at that input, else
throws TestFailedException
with a detail message indicating the PartialFunction
was not defined at the given input.
Returns the result of applying the wrapped PartialFunction
to the passed input, if it is defined at that input, else
throws TestFailedException
with a detail message indicating the PartialFunction
was not defined at the given input.
Wrapper class that adds a
valueAt
method toPartialFunction
, allowing you to make statements like: