org.scalatest.EitherValues
Wrapper class that adds a value method to LeftProjection, allowing you to make statements like:
value
LeftProjection
either.left.value should be > 9
A LeftProjection to convert to LeftValuable, which provides the value method.
LeftValuable
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.
Left
TestFailedException
Either
Right
Wrapper class that adds a
value
method toLeftProjection
, allowing you to make statements like:either.left.value should be > 9