OptionValuable
Wrapper class that adds a value method to Option, allowing
you to make statements like:
opt.value should be > 9
- Value parameters:
- opt
An option to convert to
OptionValuable, which provides thevaluemethod.
class Object
trait Matchable
class Any
Value members
Concrete methods
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.