OperationMatchers

org.specs2.matcher.OperationMatchers
See theOperationMatchers companion object

Matchers for Operation values

Attributes

Companion
object
Graph
Supertypes
trait ValueChecks
class Object
trait Matchable
class Any
Show all
Known subtypes
object OperationMatchers.type

Members list

Value members

Concrete methods

def beKo[T]: Matcher[Operation[T]]
def beKo[T](message: String): Matcher[Operation[T]]
def beOk[T]: Matcher[Operation[T]]
def beOk[T](check: ValueCheck[T]): Matcher[Operation[T]]

Inherited methods

def valueIsTypedValueCheck[T](expected: T)(using di: Diffable[T]): BeEqualTypedValueCheck[T]

an expected value can be used to check another value

an expected value can be used to check another value

Attributes

Inherited from:
ValueChecksBase

Givens

Inherited givens

given downcastBeEqualTypedValueCheck[T, S >: T]: downcastBeEqualTypedValueCheck[T, 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

Attributes

Inherited from:
ValueChecks
given functionIsValueCheck[T, R](using evidence$3: AsResult[R]): functionIsValueCheck[T, R]

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

Attributes

Inherited from:
ValueChecksLowImplicits
given matcherIsValueCheck[T]: matcherIsValueCheck[T]

a Matcher[T] can check a value

a Matcher[T] can check a value

Attributes

Inherited from:
ValueChecksBase
given partialfunctionIsValueCheck[T, R](using evidence$2: AsResult[R]): partialfunctionIsValueCheck[T, R]

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

Attributes

Inherited from:
ValueChecks