LeftValuable
Wrapper class that adds a value method to LeftProjection, allowing
you to make statements like:
either.left.value should be > 9
- Value parameters:
- leftProj
A
LeftProjectionto convert toLeftValuable, which provides thevaluemethod.
trait Serializable
class Object
trait Matchable
class Any
Value members
Concrete methods
Returns the Left value contained in the wrapped LeftProjection, if defined as a Left, else throws TestFailedException with
a detail message indicating the Either was defined as a Right, not a Left.
Returns the Left value contained in the wrapped LeftProjection, if defined as a Left, else throws TestFailedException with
a detail message indicating the Either was defined as a Right, not a Left.