TestEitherX<L, R> extension

Extension on Either type to use in tests.

on
  • Either<L, R>

Methods

getLeftOrFailTest() → L
Returns the left value of an Either, or fails the test.
getRightOrFailTest() → R
Returns the right value of an Either, or fails the test.