LeftValuable
org.scalatest.EitherValues.LeftValuable
class LeftValuable[L, R](leftProj: LeftProjection[L, R], pos: Position) extends Serializable
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
LeftProjection
to convert toLeftValuable
, which provides thevalue
method.
Attributes
- Graph
-
- Supertypes
-
trait Serializableclass Objecttrait Matchableclass Any
Members list
In this article