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
LeftProjectionto convert toLeftValuable, which provides thevaluemethod.
Attributes
- Graph
-
- Supertypes
-
trait Serializableclass Objecttrait Matchableclass Any
Members list
In this article