MustMatchers

Companion:
class
trait Matchers
trait ResultLogicalCombinators
trait Results
trait EventuallyResults
trait NumberOfTimes
trait ImplicitParameters
trait LazyParameters
class Object
trait Matchable
class Any

Type members

Inherited classlikes

implicit class AdaptFunction[T, S](f: T => S)

this implicit provides an inverted syntax to adapt matchers to make the adaptation more readable in some cases:

this implicit provides an inverted syntax to adapt matchers to make the adaptation more readable in some cases:

  • def haveExtension(extension: =>String) = ((_:File).getPath) ^^ endWith(extension)
Inherited from:
MatchersCreation
class AnyBeHaveMatchers[T](result: MatchResult[T])
Inherited from:
AnyBeHaveMatchers
class AnyMatcherResult(result: MatchResult[AnyRef])
Inherited from:
AnyBeHaveMatchers
class AnyRefMatcherResult[T <: AnyRef](result: MatchResult[T])
Inherited from:
AnyBeHaveMatchers
class AnyWithEmptyMatchers[T](result: MatchResult[T])(implicit evidence$17: Sized[T])
Inherited from:
AnyBeHaveMatchers
class BeLikeResultMatcher[T](result: MatchResult[T])
Inherited from:
AnyBeHaveMatchers
class ClassMatcherResult[T](result: MatchResult[Class[_]])(implicit evidence$15: ClassTag[T])
Inherited from:
AnyBeHaveMatchers
case class ContainSeqMatcherFunction[T](seq: Seq[T])
Inherited from:
MatcherZipOperators
class Descriptible[T](value: => T)
implicit class EitherResultMatcher[L, R](result: MatchResult[Either[L, R]])(implicit evidence$3: Diffable[L], evidence$4: Diffable[R])
Inherited from:
EitherBeHaveMatchers
class ExceptionClassMatcher(klass: Class[_]) extends Matcher[Any]

Exception matcher checking the type of a thrown exception.

Exception matcher checking the type of a thrown exception.

Inherited from:
ExceptionBaseMatchers
class ExceptionMatcher[E <: Throwable](exception: E) extends Matcher[Any]

This matchers matches exception instances.

This matchers matches exception instances.

See also:

throwA

Inherited from:
ExceptionBaseMatchers
implicit class ExceptionMatcherResult[T](result: MatchResult[T])
class ExpectationDescription(description: String)
class FindMatcher(t: => String) extends Matcher[String]

Matcher to find if the regexp a is found inside b. This matcher can be specialized to a FindMatcherWithGroups which will also check the found groups

Matcher to find if the regexp a is found inside b. This matcher can be specialized to a FindMatcherWithGroups which will also check the found groups

Inherited from:
StringBaseMatchers
class FindMatcherPattern(p: Pattern) extends FindMatcher

Matcher to find if the pattern p is found inside b.

Matcher to find if the pattern p is found inside b.

Inherited from:
StringBaseMatchers
class FindMatcherPatternWithGroups(p: Pattern, groups: String*) extends FindMatcherWithGroups

Matcher to find if the pattern p is found inside b.

Matcher to find if the pattern p is found inside b.

Inherited from:
StringBaseMatchers
class FindMatcherRegex(r: Regex) extends FindMatcherPattern

Matcher to find if the Regex r is found inside b.

Matcher to find if the Regex r is found inside b.

Inherited from:
StringBaseMatchers
class FindMatcherWithGroups(t: => String, groups: String*) extends Matcher[String]

Matcher to find if the regexp a is found inside b. This matcher checks if the found groups are really the ones expected

Matcher to find if the regexp a is found inside b. This matcher checks if the found groups are really the ones expected

Inherited from:
StringBaseMatchers
class HasSize[T](s: MatchResult[T])(implicit evidence$16: Sized[T])
Inherited from:
ImplicitParameters
implicit class InvariantMatcherFunction[T](f: T => Matcher[T])
class MapKeyResultMatcher[K](result: MatchResult[Iterable[(K, Any)]])
Inherited from:
MapBeHaveMatchers
class MapResultMatcher[K, V](result: MatchResult[Iterable[(K, V)]])
Inherited from:
MapBeHaveMatchers
class MapValueResultMatcher[V](result: MatchResult[Iterable[(Any, V)]])
Inherited from:
MapBeHaveMatchers
Inherited from:
StringBeHaveMatchers
class NotStringMatcher(result: NotMatcher[Any])
Inherited from:
StringBeHaveMatchers
class NumericResultMatcher[S](result: MatchResult[S])(implicit evidence$18: Numeric[S])
Inherited from:
NumericBeHaveMatchers
class OptionResultMatcher[T](result: MatchResult[Option[T]])
Inherited from:
OptionBeHaveMatchers
class OrderedResultMatcher[S](result: MatchResult[S])(implicit convert: S => Ordered[S])
Inherited from:
NumericBeHaveMatchers
class OrderedSeqMatchResult[T](result: MatchResult[Seq[T]])(implicit evidence$18: Ordering[T])
class PartialFunctionResultMatcher[K, V](result: MatchResult[PartialFunction[K, V]])
Inherited from:
MapBeHaveMatchers
class ResultLogicalCombinator(res: => Result)
implicit class SignificantFiguresSyntax(value: Int)

implicit definition to create significant figures for the beCloseTo matcher

implicit definition to create significant figures for the beCloseTo matcher

Inherited from:
NumericMatchers
implicit class SignificantSyntax[N](target: N)(implicit evidence$6: Numeric[N])

implicit definition to create significant figures for the beCloseTo matcher

implicit definition to create significant figures for the beCloseTo matcher

Inherited from:
NumericMatchers
class StringResultMatcher(result: MatchResult[String])
Inherited from:
StringBeHaveMatchers
class TraversableBeHaveMatchers[T](s: MatchResult[Iterable[T]])
class TryResultMatcher[T](result: MatchResult[Try[T]])
Inherited from:
TryBeHaveMatchers
implicit class TupleMatcher10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10))
Inherited from:
MatcherZipOperators
implicit class TupleMatcher11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11))
Inherited from:
MatcherZipOperators
implicit class TupleMatcher12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12))
Inherited from:
MatcherZipOperators
implicit class TupleMatcher13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13))
Inherited from:
MatcherZipOperators
implicit class TupleMatcher14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14))
Inherited from:
MatcherZipOperators
implicit class TupleMatcher15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15))
Inherited from:
MatcherZipOperators
implicit class TupleMatcher16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16))
Inherited from:
MatcherZipOperators
implicit class TupleMatcher17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17))
Inherited from:
MatcherZipOperators
implicit class TupleMatcher18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18))
Inherited from:
MatcherZipOperators
implicit class TupleMatcher19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19))
Inherited from:
MatcherZipOperators
implicit class TupleMatcher2[T1, T2](t: (T1, T2))
Inherited from:
MatcherZipOperators
implicit class TupleMatcher20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20))
Inherited from:
MatcherZipOperators
implicit class TupleMatcher21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21))
Inherited from:
MatcherZipOperators
implicit class TupleMatcher22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22))
Inherited from:
MatcherZipOperators
implicit class TupleMatcher3[T1, T2, T3](t: (T1, T2, T3))
Inherited from:
MatcherZipOperators
implicit class TupleMatcher4[T1, T2, T3, T4](t: (T1, T2, T3, T4))
Inherited from:
MatcherZipOperators
implicit class TupleMatcher5[T1, T2, T3, T4, T5](t: (T1, T2, T3, T4, T5))
Inherited from:
MatcherZipOperators
implicit class TupleMatcher6[T1, T2, T3, T4, T5, T6](t: (T1, T2, T3, T4, T5, T6))
Inherited from:
MatcherZipOperators
implicit class TupleMatcher7[T1, T2, T3, T4, T5, T6, T7](t: (T1, T2, T3, T4, T5, T6, T7))
Inherited from:
MatcherZipOperators
implicit class TupleMatcher8[T1, T2, T3, T4, T5, T6, T7, T8](t: (T1, T2, T3, T4, T5, T6, T7, T8))
Inherited from:
MatcherZipOperators
implicit class TupleMatcher9[T1, T2, T3, T4, T5, T6, T7, T8, T9](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9))
Inherited from:
MatcherZipOperators
class TypedEqualExpectation[T](t: => T)
Inherited from:
TypedEqual
implicit class resultFunction[T, R](f: T => R)(implicit evidence$2: AsResult[R])

Add functionalities to functions returning matchers so that they can be combined before taking a value and returning actual matchers

Add functionalities to functions returning matchers so that they can be combined before taking a value and returning actual matchers

Inherited from:
ResultImplicits

Value members

Inherited methods

def !=/(s: String): Matcher[Any]

matches if a.toLowerCase.trim != b.toLowerCase.trim

matches if a.toLowerCase.trim != b.toLowerCase.trim

Inherited from:
StringBaseMatchers
def !==[T : Diffable](t: => T): Matcher[T]

matches if a != b

matches if a != b

Inherited from:
AnyBaseMatchers
def <[S](n: S)(implicit convert: S => Ordered[S]): BeLessThan[S]

alias for beLessThan

alias for beLessThan

Inherited from:
NumericBaseMatchers
def <=[S](n: S)(implicit convert: S => Ordered[S]): BeLessThanOrEqualTo[S]

alias for beLessThanOrEqualTo

alias for beLessThanOrEqualTo

Inherited from:
NumericBaseMatchers
def ==/(s: String): AdaptableMatcher[Any]

matches if a.toLowerCase.trim = b.toLowerCase.trim

matches if a.toLowerCase.trim = b.toLowerCase.trim

Inherited from:
StringBaseMatchers
def ===[T : Diffable](t: => T): EqualityMatcher[T]

matches if a == b

matches if a == b

Inherited from:
AnyBaseMatchers
def ==~[T : Diffable, S](s: => S)(implicit evidence$7: Diffable[T], convert: S => T): Matcher[T]

matches if a == b after an implicit conversion

matches if a == b after an implicit conversion

Inherited from:
AnyBaseMatchers
def =~(r: Regex): BeMatchingRegex

alias for beMatching but matching just a fragment of the string

alias for beMatching but matching just a fragment of the string

Inherited from:
StringBaseMatchers
def =~(p: Pattern): BeMatchingPattern

alias for beMatching but matching just a fragment of the string

alias for beMatching but matching just a fragment of the string

Inherited from:
StringBaseMatchers
def =~(t: => String): BeMatching

alias for beMatching but matching just a fragment of the string

alias for beMatching but matching just a fragment of the string

Inherited from:
StringBaseMatchers
def >[S](n: S)(implicit convert: S => Ordered[S]): Matcher[S]

alias for beGreaterThan

alias for beGreaterThan

Inherited from:
NumericBaseMatchers
def >=[S](n: S)(implicit convert: S => Ordered[S]): Matcher[S]

alias for beGreaterThanOrEqualTo

alias for beGreaterThanOrEqualTo

Inherited from:
NumericBaseMatchers
def aFailedTry[T](t: Throwable): TryFailureCheckedMatcher[T]
Inherited from:
TryBaseMatchers
def aFailedTry[T](check: ValueCheck[Throwable]): TryFailureCheckedMatcher[T]
Inherited from:
TryBaseMatchers
Inherited from:
TryBaseMatchers
Inherited from:
TryBaseMatchers
Inherited from:
TryBaseMatchers
Inherited from:
TryBaseMatchers
def allOf[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def anInstanceOf[T : ClassTag]: Matcher[AnyRef]
Inherited from:
AnyBeHaveMatchers
def anyOf[T](t: T*): Matcher[Any]
Inherited from:
AnyBeHaveMatchers
def asNoneAs[T](other: => Option[T]): Matcher[Option[T]]
Inherited from:
OptionBaseMatchers
def asNullAs[T](a: => T): Matcher[Any]
Inherited from:
AnyBeHaveMatchers
def assignableFrom[T : ClassTag]: Matcher[Class[_]]
Inherited from:
AnyBeHaveMatchers
def atLeast[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def atLeastOnce[T](matcher: Matcher[T]): ContainWithResult[T]

apply a matcher atLeast one value

apply a matcher atLeast one value

Inherited from:
SequenceMatchersCreation
def atLeastOnce[T, R : AsResult](values: Iterable[T])(f: T => R): MatchResult[Iterable[T]]

verify the function f for at least one value

verify the function f for at least one value

Inherited from:
SequenceMatchersCreation
def atLeastOnceWhen[T, R : AsResult](values: Iterable[T])(f: PartialFunction[T, R]): MatchResult[Iterable[T]]

verify the function f for at least one value, where the PartialFunction is defined

verify the function f for at least one value, where the PartialFunction is defined

Inherited from:
SequenceMatchersCreation
def atMost[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def atMostOnce[T](matcher: Matcher[T]): ContainWithResult[T]

apply a matcher atLeast one value

apply a matcher atLeast one value

Inherited from:
SequenceMatchersCreation
def atMostOnce[T, R : AsResult](values: Iterable[T])(f: T => R): MatchResult[Iterable[T]]

verify the function f for at least one value

verify the function f for at least one value

Inherited from:
SequenceMatchersCreation
def atMostOnceWhen[T, R : AsResult](values: Iterable[T])(f: PartialFunction[T, R]): MatchResult[Iterable[T]]

verify the function f for at least one value, where the PartialFunction is defined

verify the function f for at least one value, where the PartialFunction is defined

Inherited from:
SequenceMatchersCreation
def be: NeutralMatcher[Any]
Inherited from:
BeHaveMatchers
def be[T <: AnyRef](t: => T): BeTheSameAs[T]

alias for beTheSameAs

alias for beTheSameAs

Inherited from:
AnyBaseMatchers
def beAFailedTry[T](check: ValueCheck[Throwable]): TryFailureCheckedMatcher[T]
Inherited from:
TryBaseMatchers
Inherited from:
TryBaseMatchers
Inherited from:
TryBaseMatchers
Inherited from:
TryBaseMatchers
def beAnInstanceOf[T : ClassTag]: Matcher[AnyRef]
Inherited from:
AnyBaseMatchers
def beAnyOf[T](t: T*): Matcher[T]

alias for beOneOf

alias for beOneOf

Inherited from:
AnyBaseMatchers
def beAsNoneAs[T](other: => Option[T]): Matcher[Option[T]]
Inherited from:
OptionBaseMatchers
def beAsNullAs[T](a: => T): Matcher[T]

matches if a is null when v is null and a is not null when v is not null

matches if a is null when v is null and a is not null when v is not null

Inherited from:
AnyBaseMatchers
def beAssignableFrom[T : ClassTag]: Matcher[Class[_]]

matches if v.isAssignableFrom(c)

matches if v.isAssignableFrom(c)

Inherited from:
AnyBaseMatchers
def beBetween[T](t1: T, t2: T)(implicit convert: T => Ordered[T]): BetweenMatcher[T]

matches if a value is between 2 others according to an Ordering

matches if a value is between 2 others according to an Ordering

Inherited from:
NumericBaseMatchers
def beCloseTo[S : Numeric](target: SignificantTarget[S]): Matcher[S]
Inherited from:
NumericBaseMatchers
def beCloseTo[S : Numeric](target: S, figures: SignificantFigures): Matcher[S]

matches if target - actual < 10 pow (log actual - significantDigits)

matches if target - actual < 10 pow (log actual - significantDigits)

Inherited from:
NumericBaseMatchers
def beCloseTo[S : Numeric](delta: PlusOrMinus[S]): Matcher[S]

matches if actual = n +/- delta

matches if actual = n +/- delta

Inherited from:
NumericBaseMatchers
def beCloseTo[S : Numeric](n: S, delta: S): Matcher[S]

matches if actual = n +/- delta

matches if actual = n +/- delta

Inherited from:
NumericBaseMatchers
def beDefinedAt[K](values: K*): Matcher[PartialFunction[K, Any]]

matches if the partial function is defined at those values

matches if the partial function is defined at those values

Inherited from:
MapBaseMatchers
def beDefinedBy[K, V](values: (K, V)*): Matcher[PartialFunction[K, V]]

matches if the partial function is defined at those values and return expected values

matches if the partial function is defined at those values and return expected values

Inherited from:
MapBaseMatchers
def beEmpty[T : Sized]: Matcher[T]

matches if a.isEmpty

matches if a.isEmpty

Inherited from:
AnyBaseMatchers
def beEqualTo[T](t: => T): BeEqualTo

matches if a == b

matches if a == b

Inherited from:
AnyBaseMatchers
def beFailedTry[T](check: ValueCheck[Throwable]): TryFailureCheckedMatcher[T]
Inherited from:
TryBaseMatchers
Inherited from:
TryBaseMatchers
def beFalse: Matcher[Boolean]

matches if a == false

matches if a == false

Inherited from:
AnyBaseMatchers
def beGreaterThan[S](n: S)(implicit convert: S => Ordered[S]): Matcher[S]

matches if x > n

matches if x > n

Inherited from:
NumericBaseMatchers
def beGreaterThanOrEqualTo[S](n: S)(implicit convert: S => Ordered[S]): Matcher[S]

matches if x >= n

matches if x >= n

Inherited from:
NumericBaseMatchers
def beLeft[T](implicit p: ImplicitParam): LeftMatcher[T]
Inherited from:
EitherBaseMatchers
Inherited from:
EitherBaseMatchers
def beLessThan[S](n: S)(implicit convert: S => Ordered[S]): BeLessThan[S]

matches if x < n

matches if x < n

Inherited from:
NumericBaseMatchers
def beLessThanOrEqualTo[S](n: S)(implicit convert: S => Ordered[S]): BeLessThanOrEqualTo[S]

matches if x <= n

matches if x <= n

Inherited from:
NumericBaseMatchers
def beLike[T](pattern: PartialFunction[T, MatchResult[_]]): Matcher[T]

matches if the value returns a successful result when applied to a PartialFunction

matches if the value returns a successful result when applied to a PartialFunction

Inherited from:
AnyBaseMatchers
def beLikeA[T](pattern: => PartialFunction[T, MatchResult[_]]): Matcher[T]
Inherited from:
AnyBeHaveMatchers

matches if b matches the regex a

matches if b matches the regex a

Inherited from:
StringBaseMatchers
def beMatching(a: Pattern): BeMatchingPattern

matches if b matches the pattern a

matches if b matches the pattern a

Inherited from:
StringBaseMatchers
def beMatching(a: => String): BeMatching

matches if b matches the regular expression a

matches if b matches the regular expression a

Inherited from:
StringBaseMatchers
def beNone: Matcher[Option[Any]]
Inherited from:
OptionBaseMatchers
def beNull[T]: BeNull[T]

matches if the value is null

matches if the value is null

Inherited from:
AnyBaseMatchers
def beOneOf[T](t: T*): Matcher[T]

matches if t.toSeq.exists(_ == v)

matches if t.toSeq.exists(_ == v)

Inherited from:
AnyBaseMatchers
def beRight[T](implicit p: ImplicitParam): RightMatcher[T]
Inherited from:
EitherBaseMatchers
Inherited from:
EitherBaseMatchers
def beSome[T](check: ValueCheck[T]): SomeCheckedMatcher[T]
Inherited from:
OptionBaseMatchers
Inherited from:
OptionBaseMatchers
def beSorted[T : Ordering]: OrderingMatcher[T]
Returns:

a matcher checking if the elements are ordered

Inherited from:
TraversableBaseMatchers
Inherited from:
TryBaseMatchers
Inherited from:
TryBaseMatchers
def beTheSameAs[T <: AnyRef](t: => T): BeTheSameAs[T]

matches if a eq b

matches if a eq b

Inherited from:
AnyBaseMatchers

matches if a == true

matches if a == true

Inherited from:
AnyBaseMatchers

matches if a == b

matches if a == b

Inherited from:
AnyBaseMatchers
def be[[T](t1: T, t2: T)(implicit convert: T => Ordered[T]): BetweenMatcher[T]

alias for the adventurous: 5 must (be[(2, 7)[`)

alias for the adventurous: 5 must (be[(2, 7)[`)

Inherited from:
NumericBaseMatchers
def be][T](t1: T, t2: T)(implicit convert: T => Ordered[T]): BetweenMatcher[T]

alias for the adventurous: 5 must (be](2, 7)[`)

alias for the adventurous: 5 must (be](2, 7)[`)

Inherited from:
NumericBaseMatchers
def be_!=[T](t: => T): Matcher[Any]

matches if a != b

matches if a != b

Inherited from:
AnyBaseMatchers
def be_!=/(a: String): Matcher[Any]

matches if a.toLowerCase.trim != b.toLowerCase.trim

matches if a.toLowerCase.trim != b.toLowerCase.trim

Inherited from:
StringBaseMatchers
def be_!==[T : Diffable](t: => T): Matcher[T]

matches if a != b

matches if a != b

Inherited from:
AnyBaseMatchers
def be_<[S](n: S)(implicit convert: S => Ordered[S]): BeLessThan[S]

alias for beLessThan

alias for beLessThan

Inherited from:
NumericBaseMatchers
def be_<=[S](n: S)(implicit convert: S => Ordered[S]): BeLessThanOrEqualTo[S]

alias for beLessThanOrEqualTo

alias for beLessThanOrEqualTo

Inherited from:
NumericBaseMatchers
def be_==[T](t: => T): BeEqualTo

matches if a == b

matches if a == b

Inherited from:
AnyBaseMatchers
def be_==/(a: String): AdaptableMatcher[Any]

matches if a.toLowerCase.trim = b.toLowerCase.trim

matches if a.toLowerCase.trim = b.toLowerCase.trim

Inherited from:
StringBaseMatchers
def be_===[T : Diffable](t: => T): EqualityMatcher[T]

matches if a == b

matches if a == b

Inherited from:
AnyBaseMatchers
def be_==~[T : Diffable, S](s: => S)(implicit evidence$6: Diffable[T], convert: S => T): Matcher[T]

matches if a == b after an implicit conversion

matches if a == b after an implicit conversion

Inherited from:
AnyBaseMatchers
def be_>[S](n: S)(implicit convert: S => Ordered[S]): Matcher[S]

alias for beGreaterThan

alias for beGreaterThan

Inherited from:
NumericBaseMatchers
def be_>=[S](n: S)(implicit convert: S => Ordered[S]): Matcher[S]

alias for beGreaterThanOrEqualTo

alias for beGreaterThanOrEqualTo

Inherited from:
NumericBaseMatchers
def between[T](t1: T, t2: T)(implicit convert: T => Ordered[T]): BetweenMatcher[T]
Inherited from:
NumericBaseMatchers
def booleanToSimpleResult(b: Boolean): Result
Inherited from:
Results
protected def checkFailure[T](m: MatchResult[T]): MatchResult[T]

this method can be overridden to throw exceptions when checking the match result

this method can be overridden to throw exceptions when checking the match result

Inherited from:
ExpectationsCreation
protected def checkMatchResultFailure[T](m: MatchResult[T]): MatchResult[T]

this method can be overridden to throw exceptions when checking the match result

this method can be overridden to throw exceptions when checking the match result

Inherited from:
ExpectationsCreation
protected def checkResultFailure(r: => Result): Result

this method can be overridden to throw exceptions when checking the result

this method can be overridden to throw exceptions when checking the result

Inherited from:
ExpectationsCreation
def closeTo[S : Numeric](target: SignificantTarget[S]): Matcher[S]
Inherited from:
NumericBaseMatchers
def closeTo[S : Numeric](target: S, figures: SignificantFigures): Matcher[S]
Inherited from:
NumericBaseMatchers
def closeTo[S : Numeric](delta: PlusOrMinus[S]): Matcher[S]
Inherited from:
NumericBaseMatchers
def closeTo[S : Numeric](n: S, delta: S): Matcher[S]
Inherited from:
NumericBaseMatchers
def contain[T, S](f: (=> T) => Matcher[S])(expected: => Seq[T]): Seq[S] => MatchResult[Seq[S]]
Inherited from:
MatcherZipOperators
def contain(t: Char): Matcher[String]

matches if (b contains a)

matches if (b contains a)

Inherited from:
StringBaseMatchers
def contain(t: String): Matcher[String]

matches if (b contains a)

matches if (b contains a)

Inherited from:
StringBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T], t19: ValueCheck[T], t20: ValueCheck[T], t21: ValueCheck[T], t22: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T], t19: ValueCheck[T], t20: ValueCheck[T], t21: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T], t19: ValueCheck[T], t20: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T], t19: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T], t18: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T], t17: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T], t16: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T], t15: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T], t14: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T], t13: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T], t12: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T], t11: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T], t10: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T], t9: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T], t8: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T], t7: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T], t6: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T], t5: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T], t4: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def contain[T](t1: ValueCheck[T], t2: ValueCheck[T], t3: ValueCheck[T]): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers

Additional contain methods using to avoid automatic tuple conversions

Additional contain methods using to avoid automatic tuple conversions

Inherited from:
TraversableBaseMatchers

COLLECTION MATCHERS

COLLECTION MATCHERS

Inherited from:
TraversableBaseMatchers
def contain[T](check: ValueCheck[T]): ContainWithResult[T]

ELEMENTS MATCHERS

ELEMENTS MATCHERS

Inherited from:
TraversableBaseMatchers
def containAllOf[T : Diffable](seq: Seq[T]): ContainWithResultSeq[T]

match if a traversable contains all the elements of seq (and maybe more)

match if a traversable contains all the elements of seq (and maybe more)

Inherited from:
TraversableBaseMatchers
def containAnyOf[T](seq: Seq[T]): ContainWithResult[T]

match if a traversable contains one of (t1, t2)

match if a traversable contains one of (t1, t2)

Inherited from:
TraversableBaseMatchers
def containMatch[T](t: => String): Matcher[Iterable[T]]

match if traversable contains (x matches .+t+.)

match if traversable contains (x matches .+t+.)

Inherited from:
TraversableBaseMatchers
def containPattern[T](t: => String): Matcher[Iterable[T]]

match if traversable contains (x matches p)

match if traversable contains (x matches p)

Inherited from:
TraversableBaseMatchers
def containTheSameElementsAs[T](seq: Seq[T], equality: (T, T) => Boolean): Matcher[Iterable[T]]

does a containAll comparison in both ways

does a containAll comparison in both ways

Inherited from:
TraversableBaseMatchers
def containing(s: String): Matcher[String]
Inherited from:
StringBeHaveMatchers
def createExpectable[T](t: => T, alias: Option[String => String]): Expectable[T]
Returns:

an Expectable with a description function

Inherited from:
ExpectationsCreation
def createExpectable[T](t: => T, alias: String => String): Expectable[T]
Returns:

an Expectable with a description function

Inherited from:
ExpectationsCreation
def createExpectable[T](t: => T, alias: => String): Expectable[T]
Returns:

an Expectable with a description

Inherited from:
ExpectationsCreation
def createExpectable[T](t: => T): Expectable[T]
Returns:

an Expectable

Inherited from:
ExpectationsCreation
def createExpectableWithShowAs[T](t: => T, showAs: => String): Expectable[T]
Returns:

an Expectable with a function to show the element T

Inherited from:
ExpectationsCreation
protected def createMustExpectable[T](t: => T): MustExpectable[T]
Inherited from:
MustExpectationsCreation
def definedAt[K](values: K*): Matcher[PartialFunction[K, Any]]
Inherited from:
MapBeHaveMatchers
def definedBy[K, V](values: (K, V)*): Matcher[PartialFunction[K, Any]]
Inherited from:
MapBeHaveMatchers
def eachOf[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def empty[T : Sized]: Matcher[T]
Inherited from:
AnyBeHaveMatchers
def endWith(t: => String): Matcher[String]

matches if b.endsWith(a)

matches if b.endsWith(a)

Inherited from:
StringBaseMatchers
def endingWith(s: => String): Matcher[String]
Inherited from:
StringBeHaveMatchers
def equalTo[T](t: => T): BeEqualTo

matches if a == b

matches if a == b

Inherited from:
AnyBaseMatchers
def eventually[T](nested: => Matcher[T]): Matcher[T]
Returns:

a matcher that will retry the nested matcher 40 times

Inherited from:
EventuallyMatchers
def eventually[T](nested: => Matcher[T], retries: Int, sleep: Duration): Matcher[T]
Returns:

a matcher that will retry the nested matcher a given number of times

Inherited from:
EventuallyMatchers
def eventually[T](nested: => Matcher[T], retries: Int, sleep: Int => Duration): Matcher[T]
Value parameters:
sleep

the function applied on the retry number (first is 1)

Returns:

a matcher that will retry the nested matcher a given number of times

Inherited from:
EventuallyMatchers
def eventually[T : AsResult](result: => T): T
Returns:

a result that is retried at least 40 times until it's ok

Inherited from:
EventuallyResults
def eventually[T : AsResult](retries: Int, sleep: Duration)(result: => T): T
Returns:

a matcher that will retry the nested matcher a given number of times

Inherited from:
EventuallyResults
def eventually[T : AsResult](retries: Int, sleep: Int => Duration)(result: => T): T
Value parameters:
sleep

the function applied on the retry number (first is 1)

Returns:

a matcher that will retry the nested matcher a given number of times

eventually(retries = 2, sleep = _ * 100.milliseconds) {
 aResult
}
Inherited from:
EventuallyResults
def exactly[T](checks: ValueCheck[T]*): ContainWithResultSeq[T]
Inherited from:
TraversableBaseMatchers
def failedTry[T](t: Throwable): TryFailureCheckedMatcher[T]
Inherited from:
TryBaseMatchers
def failedTry[T](check: ValueCheck[Throwable]): TryFailureCheckedMatcher[T]
Inherited from:
TryBaseMatchers
Inherited from:
TryBaseMatchers
def find(r: Regex): FindMatcherRegex

matches if the regexp r is found inside b

matches if the regexp r is found inside b

Inherited from:
StringBaseMatchers
def find(p: Pattern): FindMatcherPattern

matches if the pattern p is found inside b

matches if the pattern p is found inside b

Inherited from:
StringBaseMatchers
def find(a: => String): FindMatcher

matches if the regexp a is found inside b

matches if the regexp a is found inside b

Inherited from:
StringBaseMatchers
def forall[T](matcher: Matcher[T]): ContainWithResult[T]

apply a matcher for all values

apply a matcher for all values

Inherited from:
SequenceMatchersCreation
def forall[T, R : AsResult](values: Iterable[T])(f: T => R): MatchResult[Iterable[T]]

verify the function f for all the values, stopping after the first failure

verify the function f for all the values, stopping after the first failure

Inherited from:
SequenceMatchersCreation
def forallWhen[T, U](values: Iterable[T])(f: PartialFunction[T, MatchResult[U]]): MatchResult[Iterable[T]]

verify the function f for all the values, stopping after the first failure, where the PartialFunction is defined

verify the function f for all the values, stopping after the first failure, where the PartialFunction is defined

Inherited from:
SequenceMatchersCreation
def foreach[T](matcher: Matcher[T]): ContainWithResult[T]

apply a matcher foreach value

apply a matcher foreach value

Inherited from:
SequenceMatchersCreation
def foreach[T, R : AsResult](values: Iterable[T])(f: T => R): MatchResult[Iterable[T]]

verify the function f for all the values, and collect all failures

verify the function f for all the values, and collect all failures

Inherited from:
SequenceMatchersCreation
def foreachWhen[T, R : AsResult](values: Iterable[T])(f: PartialFunction[T, R]): MatchResult[Iterable[T]]

verify the function f for all the values, and collect all failures, where the PartialFunction is defined

verify the function f for all the values, and collect all failures, where the PartialFunction is defined

Inherited from:
SequenceMatchersCreation
def greaterThan[S](n: S)(implicit convert: S => Ordered[S]): Matcher[S]
Inherited from:
NumericBaseMatchers
def greaterThanOrEqualTo[S](n: S)(implicit convert: S => Ordered[S]): Matcher[S]
Inherited from:
NumericBaseMatchers
Inherited from:
BeHaveMatchers
def haveClass[T : ClassTag]: Matcher[AnyRef]

matches if v.getClass == c

matches if v.getClass == c

Inherited from:
AnyBaseMatchers
def haveInterface[T : ClassTag]: Matcher[AnyRef]

matches if x.getClass.getInterfaces.contains(T)

matches if x.getClass.getInterfaces.contains(T)

Inherited from:
AnyBaseMatchers
def haveKey[K](k: K): Matcher[Iterable[(Any, Any)]]

matches if map.contains(k)

matches if map.contains(k)

Inherited from:
MapBaseMatchers
def haveKeys[K](keys: K*): Matcher[Iterable[(K, Any)]]

matches if map.contains(k) forall key k

matches if map.contains(k) forall key k

Inherited from:
MapBaseMatchers
def haveLength[T : Sized](check: ValueCheck[Int]): SizedCheckedMatcher[T]

alias for haveSize

alias for haveSize

Inherited from:
TraversableBaseMatchers
def haveLength[T : Sized](n: Int): SizedMatcher[T]

alias for haveSize

alias for haveSize

Inherited from:
TraversableBaseMatchers
def havePair[K, V](p: (K, V)): Matcher[Iterable[(Any, Any)]]

matches if map contains a pair (key, value) == (k, v)

matches if map contains a pair (key, value) == (k, v)

Inherited from:
MapBaseMatchers
def havePairs[K, V](pairs: (K, V)*): Matcher[Iterable[(K, V)]]

matches if map contains all the specified pairs

matches if map contains all the specified pairs

Inherited from:
MapBaseMatchers
def haveSize[T : Sized](check: ValueCheck[Int]): SizedCheckedMatcher[T]

match if there is a way to size T

match if there is a way to size T

Inherited from:
TraversableBaseMatchers
def haveSize[T : Sized](n: Int): SizedMatcher[T]

match if there is a way to size T

match if there is a way to size T

Inherited from:
TraversableBaseMatchers
def haveSuperclass[T : ClassTag]: Matcher[AnyRef]

matches if c.isAssignableFrom(v.getClass.getSuperclass)

matches if c.isAssignableFrom(v.getClass.getSuperclass)

Inherited from:
AnyBaseMatchers
def haveValue[V](v: V): Matcher[Iterable[(Any, Any)]]

matches if map contains a pair (key, value) with value == v

matches if map contains a pair (key, value) with value == v

Inherited from:
MapBaseMatchers
def haveValues[V](values: V*): Matcher[Iterable[(Any, V)]]

matches if map contains a pair (key, value) with value == v for all value v

matches if map contains a pair (key, value) with value == v for all value v

Inherited from:
MapBaseMatchers
def interface[T : ClassTag]: Matcher[AnyRef]
Inherited from:
AnyBeHaveMatchers
def key[K](k: K): Matcher[Iterable[(Any, Any)]]
Inherited from:
MapBeHaveMatchers
def keys[K](ks: K*): Matcher[Iterable[(Any, Any)]]
Inherited from:
MapBeHaveMatchers
def klass[T : ClassTag]: Matcher[AnyRef]
Inherited from:
AnyBeHaveMatchers
def left[T](implicit p: ImplicitParam): LeftMatcher[Nothing]
Inherited from:
EitherBaseMatchers
Inherited from:
EitherBaseMatchers
def left[T : Diffable](t: T): LeftCheckedMatcher[T]
Inherited from:
EitherBaseMatchers
def length[T : Sized](check: ValueCheck[Int]): SizedCheckedMatcher[T]

alias for haveSize

alias for haveSize

Inherited from:
TraversableBaseMatchers
def length[T : Sized](n: Int): SizedMatcher[T]

alias for haveSize

alias for haveSize

Inherited from:
TraversableBaseMatchers
def lessThan[S](n: S)(implicit convert: S => Ordered[S]): BeLessThan[S]
Inherited from:
NumericBaseMatchers
def lessThanOrEqualTo[S](n: S)(implicit convert: S => Ordered[S]): BeLessThanOrEqualTo[S]

matches if x <= n

matches if x <= n

Inherited from:
NumericBaseMatchers
def like[T](pattern: => PartialFunction[T, MatchResult[_]]): Matcher[T]
Inherited from:
AnyBeHaveMatchers
def likeA[T](pattern: => PartialFunction[T, MatchResult[_]]): Matcher[T]
Inherited from:
AnyBeHaveMatchers
protected def mapMatchResult[T](m: MatchResult[T]): MatchResult[T]

this method can be overridden to intercept a MatchResult and change its message before it is thrown

this method can be overridden to intercept a MatchResult and change its message before it is thrown

Inherited from:
ExpectationsCreation
def matching(r: Regex): BeMatchingRegex
Inherited from:
StringBeHaveMatchers
def matching(t: Pattern): BeMatchingPattern
Inherited from:
StringBeHaveMatchers
def matching(t: => String): BeMatching
Inherited from:
StringBeHaveMatchers
def negate(r: Result): Result
Inherited from:
Results
def negateWhen(condition: Boolean)(r: Result): Result
Inherited from:
Results
def none: Matcher[Option[Any]]
Inherited from:
OptionBaseMatchers
def not: NotMatcher[Any]
Inherited from:
BeHaveMatchers
def not[T](m: Matcher[T]): Matcher[T]

negate a matcher

negate a matcher

Inherited from:
AnyBaseMatchers
def oneOf[T](t: T*): Matcher[Any]
Inherited from:
AnyBeHaveMatchers
def pair[K, V](p: (K, V)): Matcher[Iterable[(Any, Any)]]
Inherited from:
MapBeHaveMatchers
def pairs[K, V](pairs: (K, V)*): Matcher[Iterable[(Any, Any)]]
Inherited from:
MapBeHaveMatchers
def right[T](implicit p: ImplicitParam): RightMatcher[Nothing]
Inherited from:
EitherBaseMatchers
Inherited from:
EitherBaseMatchers
Inherited from:
EitherBaseMatchers
protected def sandboxMatchResult[T](mr: => MatchResult[T]): MatchResult[T]
Returns:

the match result without any side-effects

Inherited from:
ExpectationsCreation
def size[T : Sized](check: ValueCheck[Int]): SizedCheckedMatcher[T]

alias for haveSize

alias for haveSize

Inherited from:
TraversableBaseMatchers
def size[T : Sized](n: Int): SizedMatcher[T]

alias for haveSize

alias for haveSize

Inherited from:
TraversableBaseMatchers
def some[T](check: ValueCheck[T]): SomeCheckedMatcher[T]
Inherited from:
OptionBaseMatchers
Inherited from:
OptionBaseMatchers
def sorted[T : Ordering]: OrderingMatcher[T]

alias for beSorted

alias for beSorted

Inherited from:
TraversableBaseMatchers
def startWith(a: String): Matcher[String]

matches if b.startsWith(a)

matches if b.startsWith(a)

Inherited from:
StringBaseMatchers
def startingWith(s: => String): Matcher[String]
Inherited from:
StringBeHaveMatchers
Inherited from:
TryBaseMatchers
Inherited from:
TryBaseMatchers
Inherited from:
TryBaseMatchers
def superClass[T : ClassTag]: Matcher[AnyRef]
Inherited from:
AnyBeHaveMatchers
def throwA[E <: Throwable](e: E): ExceptionMatcher[E]
Returns:

a matcher checking the value of an Exception

Inherited from:
ExceptionBaseMatchers
def throwA[E <: Throwable](message: String)(implicit m: ClassTag[E]): Matcher[Any]
Returns:

a matcher checking the type of an Exception and its message (as a regexp)

Inherited from:
ExceptionBaseMatchers
def throwA[E <: Throwable](implicit m: ClassTag[E]): ExceptionClassMatcher
Returns:

a matcher checking the type of an Exception

Inherited from:
ExceptionBaseMatchers
def throwAn[E <: Throwable](e: E): ExceptionMatcher[E]

alias for throwA

alias for throwA

Inherited from:
ExceptionBaseMatchers
def throwAn[E <: Throwable](message: String)(implicit m: ClassTag[E]): Matcher[Any]

alias for throwA

alias for throwA

Inherited from:
ExceptionBaseMatchers
def throwAn[E <: Throwable](implicit m: ClassTag[E]): ExceptionClassMatcher

alias for throwA

alias for throwA

Inherited from:
ExceptionBaseMatchers
def typedEqualTo[T](t: => T): EqualityMatcher[T]

matches if a == b

matches if a == b

Inherited from:
AnyBaseMatchers
def value[V](v: V): Matcher[Iterable[(Any, Any)]]
Inherited from:
MapBeHaveMatchers
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
def values[V](vs: V*): Matcher[Iterable[(Any, Any)]]
Inherited from:
MapBeHaveMatchers
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18, S19, S20, S21, S22](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14], m15: (=> T15) => Matcher[S15], m16: (=> T16) => Matcher[S16], m17: (=> T17) => Matcher[S17], m18: (=> T18) => Matcher[S18], m19: (=> T19) => Matcher[S19], m20: (=> T20) => Matcher[S20], m21: (=> T21) => Matcher[S21], m22: (=> T22) => Matcher[S22]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18, S19, S20, S21, S22)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18, S19, S20, S21](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14], m15: (=> T15) => Matcher[S15], m16: (=> T16) => Matcher[S16], m17: (=> T17) => Matcher[S17], m18: (=> T18) => Matcher[S18], m19: (=> T19) => Matcher[S19], m20: (=> T20) => Matcher[S20], m21: (=> T21) => Matcher[S21]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18, S19, S20, S21)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18, S19, S20](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14], m15: (=> T15) => Matcher[S15], m16: (=> T16) => Matcher[S16], m17: (=> T17) => Matcher[S17], m18: (=> T18) => Matcher[S18], m19: (=> T19) => Matcher[S19], m20: (=> T20) => Matcher[S20]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18, S19, S20)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18, S19](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14], m15: (=> T15) => Matcher[S15], m16: (=> T16) => Matcher[S16], m17: (=> T17) => Matcher[S17], m18: (=> T18) => Matcher[S18], m19: (=> T19) => Matcher[S19]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18, S19)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14], m15: (=> T15) => Matcher[S15], m16: (=> T16) => Matcher[S16], m17: (=> T17) => Matcher[S17], m18: (=> T18) => Matcher[S18]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17, S18)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14], m15: (=> T15) => Matcher[S15], m16: (=> T16) => Matcher[S16], m17: (=> T17) => Matcher[S17]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16, S17)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14], m15: (=> T15) => Matcher[S15], m16: (=> T16) => Matcher[S16]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15, S16)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14], m15: (=> T15) => Matcher[S15]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14, S15)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13], m14: (=> T14) => Matcher[S14]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13, S14)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12], m13: (=> T13) => Matcher[S13]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12, S13)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11], m12: (=> T12) => Matcher[S12]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11, S12)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10], m11: (=> T11) => Matcher[S11]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, S11)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, S1, S2, S3, S4, S5, S6, S7, S8, S9, S10](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9], m10: (=> T10) => Matcher[S10]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9, S10)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, T9, S1, S2, S3, S4, S5, S6, S7, S8, S9](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8], m9: (=> T9) => Matcher[S9]): (=> (T1, T2, T3, T4, T5, T6, T7, T8, T9)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8, S9)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, T8, S1, S2, S3, S4, S5, S6, S7, S8](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7], m8: (=> T8) => Matcher[S8]): (=> (T1, T2, T3, T4, T5, T6, T7, T8)) => Matcher[(S1, S2, S3, S4, S5, S6, S7, S8)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, T7, S1, S2, S3, S4, S5, S6, S7](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6], m7: (=> T7) => Matcher[S7]): (=> (T1, T2, T3, T4, T5, T6, T7)) => Matcher[(S1, S2, S3, S4, S5, S6, S7)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, T6, S1, S2, S3, S4, S5, S6](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5], m6: (=> T6) => Matcher[S6]): (=> (T1, T2, T3, T4, T5, T6)) => Matcher[(S1, S2, S3, S4, S5, S6)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, T5, S1, S2, S3, S4, S5](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4], m5: (=> T5) => Matcher[S5]): (=> (T1, T2, T3, T4, T5)) => Matcher[(S1, S2, S3, S4, S5)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, T4, S1, S2, S3, S4](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3], m4: (=> T4) => Matcher[S4]): (=> (T1, T2, T3, T4)) => Matcher[(S1, S2, S3, S4)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, T3, S1, S2, S3](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2], m3: (=> T3) => Matcher[S3]): (=> (T1, T2, T3)) => Matcher[(S1, S2, S3)]
Inherited from:
MatcherZipOperators
def zip[T1, T2, S1, S2](m1: (=> T1) => Matcher[S1], m2: (=> T2) => Matcher[S2]): (=> (T1, T2)) => Matcher[(S1, S2)]
Inherited from:
MatcherZipOperators
def ~[S : Numeric](delta: PlusOrMinus[S]): Matcher[S]

alias for beCloseTo

alias for beCloseTo

Inherited from:
NumericBaseMatchers
def ~[S : Numeric](n: S)(delta: S): Matcher[S]

alias for beCloseTo

alias for beCloseTo

Inherited from:
NumericBaseMatchers

Implicits

Inherited implicits

final implicit def AdaptFunction[T, S](f: T => S): AdaptFunction[T, S]

this implicit provides an inverted syntax to adapt matchers to make the adaptation more readable in some cases:

this implicit provides an inverted syntax to adapt matchers to make the adaptation more readable in some cases:

  • def haveExtension(extension: =>String) = ((_:File).getPath) ^^ endWith(extension)
Inherited from:
MatchersCreation
final implicit def EitherResultMatcher[L : Diffable, R : Diffable](result: MatchResult[Either[L, R]]): EitherResultMatcher[L, R]
Inherited from:
EitherBeHaveMatchers
final implicit def ExceptionMatcherResult[T](result: MatchResult[T]): ExceptionMatcherResult[T]
Inherited from:
ExceptionBeHaveMatchers
final implicit def InvariantMatcherFunction[T](f: T => Matcher[T]): InvariantMatcherFunction[T]
final implicit def SignificantFiguresSyntax(value: Int): SignificantFiguresSyntax

implicit definition to create significant figures for the beCloseTo matcher

implicit definition to create significant figures for the beCloseTo matcher

Inherited from:
NumericMatchers
final implicit def SignificantSyntax[N : Numeric](target: N): SignificantSyntax[N]

implicit definition to create significant figures for the beCloseTo matcher

implicit definition to create significant figures for the beCloseTo matcher

Inherited from:
NumericMatchers
implicit def ToDelta[S : Numeric](n: S): CanHaveDelta[S]

implicit definition to create delta for the beCloseTo matcher

implicit definition to create delta for the beCloseTo matcher

Inherited from:
NumericMatchers
final implicit def TupleMatcher10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)): TupleMatcher10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)): TupleMatcher11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)): TupleMatcher12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)): TupleMatcher13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)): TupleMatcher14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)): TupleMatcher15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)): TupleMatcher16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)): TupleMatcher17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)): TupleMatcher18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)): TupleMatcher19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher2[T1, T2](t: (T1, T2)): TupleMatcher2[T1, T2]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)): TupleMatcher20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21)): TupleMatcher21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22)): TupleMatcher22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher3[T1, T2, T3](t: (T1, T2, T3)): TupleMatcher3[T1, T2, T3]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher4[T1, T2, T3, T4](t: (T1, T2, T3, T4)): TupleMatcher4[T1, T2, T3, T4]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher5[T1, T2, T3, T4, T5](t: (T1, T2, T3, T4, T5)): TupleMatcher5[T1, T2, T3, T4, T5]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher6[T1, T2, T3, T4, T5, T6](t: (T1, T2, T3, T4, T5, T6)): TupleMatcher6[T1, T2, T3, T4, T5, T6]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher7[T1, T2, T3, T4, T5, T6, T7](t: (T1, T2, T3, T4, T5, T6, T7)): TupleMatcher7[T1, T2, T3, T4, T5, T6, T7]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher8[T1, T2, T3, T4, T5, T6, T7, T8](t: (T1, T2, T3, T4, T5, T6, T7, T8)): TupleMatcher8[T1, T2, T3, T4, T5, T6, T7, T8]
Inherited from:
MatcherZipOperators
final implicit def TupleMatcher9[T1, T2, T3, T4, T5, T6, T7, T8, T9](t: (T1, T2, T3, T4, T5, T6, T7, T8, T9)): TupleMatcher9[T1, T2, T3, T4, T5, T6, T7, T8, T9]
Inherited from:
MatcherZipOperators
implicit def akaMust[T](tm: Expectable[T]): MustExpectable[T]
Inherited from:
MustExpectations
implicit def anyBeHaveMatcher[T](result: MatchResult[T]): AnyBeHaveMatchers[T]
Inherited from:
AnyBeHaveMatchers
implicit def anyWithEmpty[T : Sized](result: MatchResult[T]): AnyWithEmptyMatchers[T]
Inherited from:
AnyBeHaveMatchers
implicit def asResult[T](r: MatchResult[T]): Result

implicit definition to transform any MatchResult to a Result

implicit definition to transform any MatchResult to a Result

Inherited from:
MatchResultImplicits
implicit def checkableSeqIsContainCheckSeq[T](seq: Seq[T])(implicit to: T => ValueCheck[T]): Seq[ValueCheck[T]]
Inherited from:
TraversableBaseMatchersLowImplicits
implicit def combineBoolean(b: => Boolean): ResultLogicalCombinator
Inherited from:
ResultLogicalCombinators
implicit def combineResult(r: => Result): ResultLogicalCombinator
Inherited from:
ResultLogicalCombinators
implicit def describe[T](t: => T): Descriptible[T]

describe a value with the aka method

describe a value with the aka method

Inherited from:
ExpectationsDescription
implicit def describeExpectation(description: String): ExpectationDescription

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 fromMatchResult(r: => MatchResult[_]): Boolean

implicit definition to accept any MatchResult as a Boolean value. It is true if the MatchResult is not an Error or a Failure

implicit definition to accept any MatchResult as a Boolean value. It is true if the MatchResult is not an Error or a Failure

Inherited from:
MatchResultImplicits
implicit def functionAndKoMessageToMatcher[T](f: (T => Boolean, T => String)): Matcher[T]

This method transforms a function to a Matcher

This method transforms a function to a Matcher

Inherited from:
MatchersCreation
implicit def functionAndMessagesToMatcher[T](f: (T => Boolean, T => String, T => String)): Matcher[T]

This method transforms a function, with function descriptors to a Matcher

This method transforms a function, with function descriptors to a Matcher

Inherited from:
MatchersCreation
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 functionToMatcher[T](f: (T => Boolean, String)): Matcher[T]

This method transforms a function to a Matcher

This method transforms a function to a Matcher

Inherited from:
MatchersCreation
implicit def functionToMatcher2[T](f: (T => Boolean, String, String)): Matcher[T]

This method transforms a function to a Matcher

This method transforms a function to a Matcher

Inherited from:
MatchersCreation
implicit lazy val implicitParameter: ImplicitParam
Inherited from:
ImplicitParameters
Inherited from:
ImplicitParameters
Inherited from:
ImplicitParameters
Inherited from:
ImplicitParameters
Inherited from:
ImplicitParameters
Inherited from:
ImplicitParameters
Inherited from:
ImplicitParameters
Inherited from:
ImplicitParameters
Inherited from:
ImplicitParameters
Inherited from:
ImplicitParameters
Inherited from:
ImplicitParameters
implicit def lazyParameter[T](value: => T): LazyParameter[T]

transform a value to a zero-arg function returning that value

transform a value to a zero-arg function returning that value

Inherited from:
LazyParameters
implicit def matchResultFunctionToMatcher[T, R : AsResult](f: T => R): Matcher[T]

This method transforms a function returning a Result to a Matcher

This method transforms a function returning a Result to a Matcher

Inherited from:
MatchersCreation
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 matcherSeqIsContainCheckSeq[T](seq: Seq[Matcher[T]]): Seq[ValueCheck[T]]
Inherited from:
TraversableBaseMatchersLowImplicits
implicit def orderedSeqMatchResult[T : Ordering](result: MatchResult[Seq[T]]): OrderedSeqMatchResult[T]
Inherited from:
TraversableBeHaveMatchers
implicit def pairFunctionToMatcher[T](f: T => (Boolean, String)): Matcher[T]

This method transforms a function returning a pair (Boolean, String for ko message) to a Matcher

This method transforms a function returning a pair (Boolean, String for ko message) to a Matcher

Inherited from:
MatchersCreation
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
final implicit def resultFunction[T, R : AsResult](f: T => R): resultFunction[T, R]

Add functionalities to functions returning matchers so that they can be combined before taking a value and returning actual matchers

Add functionalities to functions returning matchers so that they can be combined before taking a value and returning actual matchers

Inherited from:
ResultImplicits
implicit def seqToResult[T](r: Seq[MatchResult[T]]): Result

implicit definition to transform a Seq of MatchResults to a Result

implicit definition to transform a Seq of MatchResults to a Result

Inherited from:
MatchResultImplicits
implicit def sized[T : Sized](s: MatchResult[T]): HasSize[T]
Inherited from:
TraversableBeHaveMatchers

adapt the BeEqualTo matcher to provide ignoreCase and ignoreSpace matcher

adapt the BeEqualTo matcher to provide ignoreCase and ignoreSpace matcher

Inherited from:
StringMatchers
implicit def stringMatcherFunctionToBynameMatcherFunction[T, R](f: T => Matcher[R]): (=> T) => Matcher[R]

this allows a function returning a matcher to be used where the same function with a byname parameter is expected

this allows a function returning a matcher to be used where the same function with a byname parameter is expected

Inherited from:
MatchersCreation
implicit def theBlock(t: => Nothing): MustExpectable[Nothing]
Inherited from:
MustExpectations
implicit def theValue[T](t: => T): MustExpectable[T]
Inherited from:
MustExpectations1
implicit def timesFor(n: Int): Times

This implicit definition allows to declare a number of times 3.times

This implicit definition allows to declare a number of times 3.times

Inherited from:
NumberOfTimes
implicit def toAnyMatcherResult(result: MatchResult[AnyRef]): AnyMatcherResult
Inherited from:
AnyBeHaveMatchers
implicit def toAnyRefMatcherResult[T <: AnyRef](result: MatchResult[T]): AnyRefMatcherResult[T]
Inherited from:
AnyBeHaveMatchers
implicit def toBeLikeResultMatcher[T](result: MatchResult[T]): BeLikeResultMatcher[T]
Inherited from:
AnyBeHaveMatchers
implicit def toClassMatcherResult[T : ClassTag](result: MatchResult[Class[_]]): ClassMatcherResult[T]
Inherited from:
AnyBeHaveMatchers
Inherited from:
MatcherZipOperators
implicit def toMapKeyResultMatcher[K](result: MatchResult[Iterable[(K, Any)]]): MapKeyResultMatcher[K]
Inherited from:
MapBeHaveMatchers
implicit def toMapResultMatcher[K, V](result: MatchResult[Iterable[(K, V)]]): MapResultMatcher[K, V]
Inherited from:
MapBeHaveMatchers
implicit def toMapValueResultMatcher[V](result: MatchResult[Iterable[(Any, V)]]): MapValueResultMatcher[V]
Inherited from:
MapBeHaveMatchers
Inherited from:
NumericBeHaveMatchers
Inherited from:
NumericBeHaveMatchers
Inherited from:
StringBeHaveMatchers
implicit def toNotStringMatcher(result: NotMatcher[Any]): NotStringMatcher
Inherited from:
StringBeHaveMatchers
implicit def toNumericResultMatcher[S : Numeric](result: MatchResult[S]): NumericResultMatcher[S]
Inherited from:
NumericBeHaveMatchers
implicit def toOptionResultMatcher[T](result: MatchResult[Option[T]]): OptionResultMatcher[T]
Inherited from:
OptionBeHaveMatchers
implicit def toOrderedResultMatcher[S](result: MatchResult[S])(implicit convert: S => Ordered[S]): OrderedResultMatcher[S]

matcher aliases and implicits to use with be + matcher

matcher aliases and implicits to use with be + matcher

Inherited from:
NumericBeHaveMatchers
implicit def toPartialFunctionResultMatcher[K, V](result: MatchResult[PartialFunction[K, V]]): PartialFunctionResultMatcher[K, V]
Inherited from:
MapBeHaveMatchers
implicit def toResult(b: Boolean): Result

implicit definition to accept any boolean value as a Result This avoids writing b must beTrue

implicit definition to accept any boolean value as a Result This avoids writing b must beTrue

Inherited from:
Results
Inherited from:
StringBeHaveMatchers
implicit def toTryResultMatcher[T](result: MatchResult[Try[T]]): TryResultMatcher[T]
Inherited from:
TryBeHaveMatchers
implicit def traversable[T](s: MatchResult[Iterable[T]]): TraversableBeHaveMatchers[T]
Inherited from:
TraversableBeHaveMatchers
implicit def tripletFunctionToMatcher[T](f: T => (Boolean, String, String)): Matcher[T]

This method transforms a function returning a triplet (Boolean, String for ok message, String for ko message) to a Matcher

This method transforms a function returning a triplet (Boolean, String for ok message, String for ko message) to a Matcher

Inherited from:
MatchersCreation
implicit def typedEqualExpectation[T](t: => T): TypedEqualExpectation[T]

A value can be tested against another with the === operator. It is equivalent to writing a must_== b

A value can be tested against another with the === operator. It is equivalent to writing a must_== b

Inherited from:
TypedEqual