Returns the value contained in the wrapped Option
, if defined, else throws TestFailedException
with
a detail message indicating the option was not defined.
Returns the value contained in the wrapped Option
, if defined, else throws TestFailedException
with
a detail message indicating the option was not defined.
Wrapper class that adds a
value
method toOption
, allowing you to make statements like:opt.value should be > 9