EitherMatchers

Companion:
object
class Object
trait Matchable
class Any
object EitherMatchers.type

Value members

Concrete methods

def beLeft[E](element: E): Matcher[Either[E, _]]

Checks to see if scala.util.Either is a specific Left element.

Checks to see if scala.util.Either is a specific Left element.

def beRight[T](element: T): Matcher[Either[_, T]]

Checks to see if scala.util.Either is a specific Right element.

Checks to see if scala.util.Either is a specific Right element.

def left[E]: BeMatcher[Either[E, _]]

Checks to see if scala.util.Either is a Left.

Checks to see if scala.util.Either is a Left.

def right[T]: BeMatcher[Either[_, T]]

Checks to see if scala.util.Either is a Right.

Checks to see if scala.util.Either is a Right.