ActionMatchers

trait ActionMatchers extends ValueChecks

Matchers for Action values

Companion:
object
trait ValueChecks
trait ValueChecksBase
trait ValueChecksLowImplicits
class Object
trait Matchable
class Any
object ActionMatchers.type

Value members

Concrete methods

def beKo[T]: Matcher[Action[T]]
def beKo[T](message: String): Matcher[Action[T]]
def beOk[T]: Matcher[Action[T]]
def beOk[T, R : AsResult](f: T => R): Matcher[Action[T]]
def beOk[T](check: ValueCheck[T]): Matcher[Action[T]]
def beOkWithValue[T](t: T): Matcher[Action[T]]

Inherited methods

def valueIsTypedValueCheck[T](expected: T)(implicit di: Diffable[T]): ValueCheck[T]

an expected value can be used to check another value

an expected value can be used to check another value

Inherited from:
ValueChecksBase

Implicits

Inherited implicits

implicit def downcastBeEqualTypedValueCheck[T, S >: T](check: BeEqualTypedValueCheck[T]): ValueCheck[S]

a check of type T can be downcasted implicitly to a check of type S >: T

a check of type T can be downcasted implicitly to a check of type S >: T

Inherited from:
ValueChecks
implicit def functionIsValueCheck[T, R : AsResult](f: T => R): ValueCheck[T]

a function returning an object having an AsResult instance can check a value

a function returning an object having an AsResult instance can check a value

Inherited from:
ValueChecksLowImplicits
implicit def matcherIsValueCheck[T](m: Matcher[T]): ValueCheck[T]

a Matcher[T] can check a value

a Matcher[T] can check a value

Inherited from:
ValueChecksBase
implicit def partialfunctionIsValueCheck[T, R : AsResult](f: PartialFunction[T, R]): ValueCheck[T]

a partial function returning an object having an AsResult instance can check a value

a partial function returning an object having an AsResult instance can check a value

Inherited from:
ValueChecks