RightValuable
org.scalatest.EitherValues.RightValuable
class RightValuable[L, R](rightProj: RightProjection[L, R], pos: Position) extends Serializable
Wrapper class that adds a value
method to RightProjection
, allowing you to make statements like:
either.right.value should be > 9
Value parameters
- rightProj
-
A
RightProjection
to convert toRightValuable
, which provides thevalue
method.
Attributes
- Graph
-
- Supertypes
-
trait Serializableclass Objecttrait Matchableclass Any
Members list
In this article