org.specs2.matcher

Matchers

object Matchers extends Matchers

Linear Supertypes
Matchers, LanguageFeatures, MatchersImplicits, ExpectationsDescription, Sentences, MatchResultImplicits, MatchResultCombinators, ResultLogicalCombinators, Results, MatchResultLogicalCombinators, EventuallyMatchers, EventuallyResults, TryMatchers, TryBeHaveMatchers, TryBaseMatchers, EitherMatchers, EitherBeHaveMatchers, EitherBaseMatchers, OptionMatchers, OptionBeHaveMatchers, OptionBaseMatchers, NumericMatchers, NumericBeHaveMatchers, NumericBaseMatchers, ExceptionMatchers, ExceptionBeHaveMatchers, ExceptionBaseMatchers, Expectations, CanBeEqual, StringMatchers, StringBeHaveMatchers, StringBaseMatchers, MapMatchers, MapBeHaveMatchers, MapBaseMatchers, TraversableMatchers, DeprecatedTraversableBaseMatchers, matcher.TraversableBeHaveMatchers, LazyParameters, NumberOfTimes, TraversableBaseMatchers, ImplicitParameters, TraversableBaseMatchersLowImplicits, ContainChecks, BeHaveMatchers, AnyMatchers, matcher.AnyBeHaveMatchers, AnyBaseMatchers, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Matchers
  2. Matchers
  3. LanguageFeatures
  4. MatchersImplicits
  5. ExpectationsDescription
  6. Sentences
  7. MatchResultImplicits
  8. MatchResultCombinators
  9. ResultLogicalCombinators
  10. Results
  11. MatchResultLogicalCombinators
  12. EventuallyMatchers
  13. EventuallyResults
  14. TryMatchers
  15. TryBeHaveMatchers
  16. TryBaseMatchers
  17. EitherMatchers
  18. EitherBeHaveMatchers
  19. EitherBaseMatchers
  20. OptionMatchers
  21. OptionBeHaveMatchers
  22. OptionBaseMatchers
  23. NumericMatchers
  24. NumericBeHaveMatchers
  25. NumericBaseMatchers
  26. ExceptionMatchers
  27. ExceptionBeHaveMatchers
  28. ExceptionBaseMatchers
  29. Expectations
  30. CanBeEqual
  31. StringMatchers
  32. StringBeHaveMatchers
  33. StringBaseMatchers
  34. MapMatchers
  35. MapBeHaveMatchers
  36. MapBaseMatchers
  37. TraversableMatchers
  38. DeprecatedTraversableBaseMatchers
  39. TraversableBeHaveMatchers
  40. LazyParameters
  41. NumberOfTimes
  42. TraversableBaseMatchers
  43. ImplicitParameters
  44. TraversableBaseMatchersLowImplicits
  45. ContainChecks
  46. BeHaveMatchers
  47. AnyMatchers
  48. AnyBeHaveMatchers
  49. AnyBaseMatchers
  50. AnyRef
  51. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. implicit class AdaptFunction[T, S] extends AnyRef

    this implicit provides an inverted syntax to adapt matchers to make the adaptation more readable in some cases: - def haveExtension(extension: =>String) = ((_:File).

  2. class AnyBeHaveMatchers[T] extends AnyRef

    Definition Classes
    AnyBeHaveMatchers
  3. class AnyMatcherResult extends AnyRef

    Definition Classes
    AnyBeHaveMatchers
  4. class AnyRefMatcherResult[T <: AnyRef] extends AnyRef

    Definition Classes
    AnyBeHaveMatchers
  5. class AnyWithEmptyMatchers[T] extends AnyRef

    Definition Classes
    AnyBeHaveMatchers
  6. class BeLikeResultMatcher[T] extends AnyRef

    Definition Classes
    AnyBeHaveMatchers
  7. class CanBeEqualExpectation[T] extends AnyRef

    Definition Classes
    CanBeEqual
  8. class ClassMatcherResult extends AnyRef

    Definition Classes
    AnyBeHaveMatchers
  9. class Descriptible[T] extends AnyRef

    Definition Classes
    Expectations
  10. class EitherResultMatcher[L, R] extends AnyRef

    Definition Classes
    EitherBeHaveMatchers
  11. class ExceptionClassMatcher extends Matcher[Any]

    Exception matcher checking the type of a thrown exception.

    Exception matcher checking the type of a thrown exception.

    Definition Classes
    ExceptionBaseMatchers
  12. class ExceptionMatcher[E <: Throwable] extends Matcher[Any]

    This matchers matches exception instances.

    This matchers matches exception instances.

    Definition Classes
    ExceptionBaseMatchers
    See also

    throwA

  13. class ExceptionMatcherResult[T] extends AnyRef

    Definition Classes
    ExceptionBeHaveMatchers
  14. class ExpectationDescription extends AnyRef

    Definition Classes
    ExpectationsDescription
  15. case class FailedTryMatcher[T] extends Matcher[Try[T]] with Product with Serializable

    Definition Classes
    TryBaseMatchers
  16. class FindMatcher extends Matcher[String]

    Matcher to find if the regexp a is found inside b.

    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

    Definition Classes
    StringBaseMatchers
  17. class FindMatcherPattern extends FindMatcher

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

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

    Definition Classes
    StringBaseMatchers
  18. class FindMatcherPatternWithGroups extends FindMatcherWithGroups

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

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

    Definition Classes
    StringBaseMatchers
  19. class FindMatcherRegex extends FindMatcherPattern

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

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

    Definition Classes
    StringBaseMatchers
  20. class FindMatcherWithGroups extends Matcher[String]

    Matcher to find if the regexp a is found inside b.

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

    Definition Classes
    StringBaseMatchers
  21. class HasSize[T] extends AnyRef

    Definition Classes
    TraversableBeHaveMatchers
  22. trait ImplicitParam extends AnyRef

    Definition Classes
    ImplicitParameters
  23. trait ImplicitParam1 extends AnyRef

    Definition Classes
    ImplicitParameters
  24. trait ImplicitParam10 extends AnyRef

    Definition Classes
    ImplicitParameters
  25. trait ImplicitParam2 extends AnyRef

    Definition Classes
    ImplicitParameters
  26. trait ImplicitParam3 extends AnyRef

    Definition Classes
    ImplicitParameters
  27. trait ImplicitParam4 extends AnyRef

    Definition Classes
    ImplicitParameters
  28. trait ImplicitParam5 extends AnyRef

    Definition Classes
    ImplicitParameters
  29. trait ImplicitParam6 extends AnyRef

    Definition Classes
    ImplicitParameters
  30. trait ImplicitParam7 extends AnyRef

    Definition Classes
    ImplicitParameters
  31. trait ImplicitParam8 extends AnyRef

    Definition Classes
    ImplicitParameters
  32. trait ImplicitParam9 extends AnyRef

    Definition Classes
    ImplicitParameters
  33. implicit class InvariantMatcherFunction[T] extends AnyRef

    Definition Classes
    MatchersImplicits
  34. class LeftMatcher[T] extends Matcher[Either[T, _]]

    Definition Classes
    EitherBaseMatchers
  35. class MapKeyResultMatcher[K] extends AnyRef

    Definition Classes
    MapBeHaveMatchers
  36. class MapResultMatcher[K, V] extends AnyRef

    Definition Classes
    MapBeHaveMatchers
  37. class MapValueResultMatcher[V] extends AnyRef

    Definition Classes
    MapBeHaveMatchers
  38. class MatchResultCombinator[T] extends AnyRef

    Definition Classes
    MatchResultLogicalCombinators
  39. implicit class MatcherFunction[S, T] extends AnyRef

    Definition Classes
    MatchersImplicits
  40. class NeutralMatcherNumeric extends AnyRef

    Definition Classes
    NumericBeHaveMatchers
  41. class NeutralMatcherOrdered extends AnyRef

    Definition Classes
    NumericBeHaveMatchers
  42. class NeutralStringMatcher extends AnyRef

    Definition Classes
    StringBeHaveMatchers
  43. class NotStringMatcher extends AnyRef

    Definition Classes
    StringBeHaveMatchers
  44. class NumericResultMatcher[S] extends AnyRef

    Definition Classes
    NumericBeHaveMatchers
  45. class OptionResultMatcher[T] extends AnyRef

    Definition Classes
    OptionBeHaveMatchers
  46. class OrderedResultMatcher[S] extends AnyRef

    Definition Classes
    NumericBeHaveMatchers
  47. class OrderedSeqMatchResult[T] extends AnyRef

    Definition Classes
    TraversableBeHaveMatchers
  48. class PartialFunctionResultMatcher[K, V] extends AnyRef

    Definition Classes
    MapBeHaveMatchers
  49. class ResultLogicalCombinator extends AnyRef

    Definition Classes
    ResultLogicalCombinators
  50. class RightMatcher[T] extends Matcher[Either[_, T]]

    Definition Classes
    EitherBaseMatchers
  51. class SeqMatcher[S, T] extends Matcher[Seq[T]]

    The SeqMatcher class is a matcher matching a sequence of objects with a matcher returned by a function.

  52. class SetMatcher[S, T] extends Matcher[Set[T]]

    The SetMatcher class is a matcher matching a set of objects with a matcher returned by a function.

  53. class StringMatcher extends AnyRef

    Definition Classes
    StringBaseMatchers
  54. class StringResultMatcher extends AnyRef

    Definition Classes
    StringBeHaveMatchers
  55. case class SuccessTryMatcher[T] extends Matcher[Try[T]] with Product with Serializable

    Definition Classes
    TryBaseMatchers
  56. class TraversableBeHaveMatchers[T] extends AnyRef

    Definition Classes
    TraversableBeHaveMatchers
  57. trait TraversableMatcher[T] extends Matcher[GenTraversableOnce[T]]

    Definition Classes
    TraversableBaseMatchers
  58. class TryResultMatcher[T] extends AnyRef

    Definition Classes
    TryBeHaveMatchers
  59. implicit class matcherContainResult[T] extends AnyRef

    Definition Classes
    MatchersImplicits
  60. implicit class resultFunction[T, R] extends AnyRef

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

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. def !=/(s: String): AdaptableMatcher[Any]

    matches if a.

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

    Definition Classes
    StringBaseMatchers
  4. def !==[T](t: ⇒ T): Matcher[T]

    matches if a != b

    matches if a != b

    Definition Classes
    AnyBaseMatchers
  5. final def ##(): Int

    Definition Classes
    AnyRef → Any
  6. def <[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]

    alias for beLessThan

    alias for beLessThan

    Definition Classes
    NumericBaseMatchers
  7. def <=[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThanOrEqualTo[S]

    alias for beLessThanOrEqualTo

    alias for beLessThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  8. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  10. def ==/(s: String): AdaptableMatcher[Any]

    matches if a.

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

    Definition Classes
    StringBaseMatchers
  11. def ===[T](t: ⇒ T): BeTypedEqualTo[T]

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  12. def ==~[T, S](s: ⇒ S)(implicit convert: (S) ⇒ T): Matcher[T]

    matches if a == b after an implicit conversion

    matches if a == b after an implicit conversion

    Definition Classes
    AnyBaseMatchers
  13. 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

    Definition Classes
    StringBaseMatchers
  14. 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

    Definition Classes
    StringBaseMatchers
  15. 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

    Definition Classes
    StringBaseMatchers
  16. def >[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    alias for beGreaterThan

    alias for beGreaterThan

    Definition Classes
    NumericBaseMatchers
  17. def >=[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    alias for beGreaterThanOrEqualTo

    alias for beGreaterThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  18. implicit def ToDelta[S](n: S)(implicit arg0: Numeric[S]): CanHaveDelta[S]

    implicit definition to create delta for the beCloseTo matcher

    implicit definition to create delta for the beCloseTo matcher

    Definition Classes
    NumericBaseMatchers
  19. def aFailedTry[T]: FailedTryMatcher[T]

    Definition Classes
    TryBaseMatchers
  20. def aSuccessfulTry[T]: SuccessTryMatcher[T]

    Definition Classes
    TryBaseMatchers
  21. def allElementsLike[T, S](like: PartialFunction[T, MatchResult[S]]): HaveAllElementsLike[T, S]

    Matches if all elements are matching a "like" function

    Matches if all elements are matching a "like" function

    Definition Classes
    DeprecatedTraversableBaseMatchers
  22. def allOf[T](checks: ContainCheck[T]*): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  23. def anInstanceOf[T](implicit arg0: ClassTag[T]): Matcher[Any]

    Definition Classes
    AnyBeHaveMatchers
  24. implicit def anyBeHaveMatcher[T](result: MatchResult[T]): AnyBeHaveMatchers[T]

    Definition Classes
    AnyBeHaveMatchers
  25. def anyOf[T](t: T*): Matcher[T]

    Definition Classes
    AnyBeHaveMatchers
  26. implicit def anyWithEmpty[T](result: MatchResult[T])(implicit arg0: (T) ⇒ Any { def isEmpty: Boolean }): AnyWithEmptyMatchers[T]

    Definition Classes
    AnyBeHaveMatchers
  27. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  28. def asNoneAs[T](other: ⇒ Option[T]): Matcher[Option[T]]

    Definition Classes
    OptionBaseMatchers
  29. def asNullAs[T](a: ⇒ T): Matcher[T]

    Definition Classes
    AnyBeHaveMatchers
  30. implicit def asResult[M[_] <: MatchResult[_]](r: M[_]): Result

    implicit definition to transform any MatchResult to a Result

    implicit definition to transform any MatchResult to a Result

    Definition Classes
    MatchResultImplicits
  31. def assignableFrom[T](implicit arg0: ClassTag[T]): Matcher[Class[_]]

    Definition Classes
    AnyBeHaveMatchers
  32. def atLeast[T](checks: ContainCheck[T]*): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  33. def atLeastOnce[T](matcher: Matcher[T]): ContainWithResult[T]

    apply a matcher atLeast one value

    apply a matcher atLeast one value

    Definition Classes
    MatchersImplicits
  34. def atLeastOnce[T, R](values: GenTraversableOnce[T])(f: (T) ⇒ R)(implicit arg0: AsResult[R]): MatchResult[GenTraversableOnce[T]]

    verify the function f for at least one value

    verify the function f for at least one value

    Definition Classes
    MatchersImplicits
  35. def atLeastOnceWhen[T, R](values: GenTraversable[T])(f: PartialFunction[T, R])(implicit arg0: AsResult[R]): MatchResult[GenTraversableOnce[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

    Definition Classes
    MatchersImplicits
  36. def atMost[T](checks: ContainCheck[T]*): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  37. def atMostOnce[T](matcher: Matcher[T]): ContainWithResult[T]

    apply a matcher atLeast one value

    apply a matcher atLeast one value

    Definition Classes
    MatchersImplicits
  38. def atMostOnce[T, R](values: GenTraversableOnce[T])(f: (T) ⇒ R)(implicit arg0: AsResult[R]): MatchResult[GenTraversableOnce[T]]

    verify the function f for at least one value

    verify the function f for at least one value

    Definition Classes
    MatchersImplicits
  39. def atMostOnceWhen[T, R](values: GenTraversable[T])(f: PartialFunction[T, R])(implicit arg0: AsResult[R]): MatchResult[GenTraversableOnce[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

    Definition Classes
    MatchersImplicits
  40. def be: NeutralMatcher[Any]

    Definition Classes
    BeHaveMatchers
  41. def be[T <: AnyRef](t: ⇒ T): BeTheSameAs[T]

    alias for beTheSameAs

    alias for beTheSameAs

    Definition Classes
    AnyBaseMatchers
  42. def beAFailedTry[T]: FailedTryMatcher[T]

    Definition Classes
    TryBaseMatchers
  43. def beASuccessfulTry[T]: SuccessTryMatcher[T]

    Definition Classes
    TryBaseMatchers
  44. def beAnInstanceOf[T](implicit arg0: ClassTag[T]): Matcher[Any]

    Definition Classes
    AnyBaseMatchers
  45. def beAnyOf[T](t: T*): Matcher[T]

    alias for beOneOf

    alias for beOneOf

    Definition Classes
    AnyBaseMatchers
  46. def beAsNoneAs[T](other: ⇒ Option[T]): Matcher[Option[T]]

    Definition Classes
    OptionBaseMatchers
  47. 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

    Definition Classes
    AnyBaseMatchers
  48. def beAssignableFrom[T](implicit arg0: ClassTag[T]): Matcher[Class[_]]

    matches if v.

    matches if v.isAssignableFrom(c)

    Definition Classes
    AnyBaseMatchers
  49. def beBetween[T](t1: T, t2: T)(implicit arg0: (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

    Definition Classes
    NumericBaseMatchers
  50. def beCloseTo[S](delta: Delta[S])(implicit arg0: Numeric[S]): Matcher[S]

    matches if x = n +/- delta

    matches if x = n +/- delta

    Definition Classes
    NumericBaseMatchers
  51. def beCloseTo[S](n: S, delta: S)(implicit arg0: Numeric[S]): Matcher[S]

    matches if x = n +/- delta

    matches if x = n +/- delta

    Definition Classes
    NumericBaseMatchers
  52. 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

    Definition Classes
    MapBaseMatchers
  53. 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

    Definition Classes
    MapBaseMatchers
  54. def beEmpty[T](implicit arg0: (T) ⇒ Any { def isEmpty: Boolean }): Matcher[T]

    matches if a.

    matches if a.isEmpty

    Definition Classes
    AnyBaseMatchers
  55. def beEqualTo[T](t: ⇒ T): BeEqualTo

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  56. def beFailedTry[T]: FailedTryMatcher[T]

    Definition Classes
    TryBaseMatchers
  57. def beFalse: Matcher[Boolean]

    matches if a == false

    matches if a == false

    Definition Classes
    AnyBaseMatchers
  58. def beGreaterThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    matches if x > n

    matches if x > n

    Definition Classes
    NumericBaseMatchers
  59. def beGreaterThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    matches if x >= n

    matches if x >= n

    Definition Classes
    NumericBaseMatchers
  60. def beLeft[T]: LeftMatcher[T]

    Definition Classes
    EitherBaseMatchers
  61. def beLeft[T](t: ⇒ T): Matcher[Either[T, _]]

    Definition Classes
    EitherBaseMatchers
  62. def beLessThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]

    matches if x < n

    matches if x < n

    Definition Classes
    NumericBaseMatchers
  63. def beLessThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThanOrEqualTo[S]

    matches if x <= n

    matches if x <= n

    Definition Classes
    NumericBaseMatchers
  64. 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

    Definition Classes
    AnyBaseMatchers
  65. def beLikeA[T](pattern: ⇒ PartialFunction[T, MatchResult[_]]): Matcher[T]

    Definition Classes
    AnyBeHaveMatchers
  66. def beMatching(a: Regex): BeMatchingRegex

    matches if b matches the regex a

    matches if b matches the regex a

    Definition Classes
    StringBaseMatchers
  67. def beMatching(a: Pattern): BeMatchingPattern

    matches if b matches the pattern a

    matches if b matches the pattern a

    Definition Classes
    StringBaseMatchers
  68. def beMatching(a: ⇒ String): BeMatching

    matches if b matches the regular expression a

    matches if b matches the regular expression a

    Definition Classes
    StringBaseMatchers
  69. def beNone: Matcher[Option[Any]]

    Definition Classes
    OptionBaseMatchers
  70. def beNull[T]: BeNull[T]

    matches if the value is null

    matches if the value is null

    Definition Classes
    AnyBaseMatchers
  71. def beOneOf[T](t: T*): Matcher[T]

    matches if t.

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

    Definition Classes
    AnyBaseMatchers
  72. def beRight[T]: RightMatcher[T]

    Definition Classes
    EitherBaseMatchers
  73. def beRight[T](t: ⇒ T): Matcher[Either[_, T]]

    Definition Classes
    EitherBaseMatchers
  74. def beSome[T]: SomeMatcher[T]

    Definition Classes
    OptionBaseMatchers
  75. def beSome[T](t: ⇒ T): Matcher[Option[T]]

    Definition Classes
    OptionBaseMatchers
  76. def beSorted[T](implicit arg0: Ordering[T]): OrderingMatcher[T]

    returns

    a matcher checking if the elements are ordered

    Definition Classes
    TraversableBaseMatchers
  77. def beSuccessfulTry[T]: SuccessTryMatcher[T]

    Definition Classes
    TryBaseMatchers
  78. def beTheSameAs[T <: AnyRef](t: ⇒ T): BeTheSameAs[T]

    matches if a eq b

    matches if a eq b

    Definition Classes
    AnyBaseMatchers
  79. def beTrue: BeTrueMatcher

    matches if a == true

    matches if a == true

    Definition Classes
    AnyBaseMatchers
  80. def beTypedEqualTo[T](t: ⇒ T, equality: (T, T) ⇒ Boolean = (t1:T, t2:T) => t1 == t2): BeTypedEqualTo[T]

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  81. def be[[T](t1: T, t2: T)(implicit arg0: (T) ⇒ Ordered[T]): BetweenMatcher[T]

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

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

    Definition Classes
    NumericBaseMatchers
  82. def be][T](t1: T, t2: T)(implicit arg0: (T) ⇒ Ordered[T]): BetweenMatcher[T]

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

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

    Definition Classes
    NumericBaseMatchers
  83. def be_!=[T](t: ⇒ T): Matcher[Any]

    matches if a != b

    matches if a != b

    Definition Classes
    AnyBaseMatchers
  84. def be_!=/(a: String): AdaptableMatcher[Any]

    matches if a.

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

    Definition Classes
    StringBaseMatchers
  85. def be_!==[T](t: ⇒ T): Matcher[T]

    matches if a != b

    matches if a != b

    Definition Classes
    AnyBaseMatchers
  86. def be_<[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]

    alias for beLessThan

    alias for beLessThan

    Definition Classes
    NumericBaseMatchers
  87. def be_<=[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThanOrEqualTo[S]

    alias for beLessThanOrEqualTo

    alias for beLessThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  88. def be_==[T](t: ⇒ T): BeEqualTo

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  89. def be_==/(a: String): AdaptableMatcher[Any]

    matches if a.

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

    Definition Classes
    StringBaseMatchers
  90. def be_===[T](t: ⇒ T): BeTypedEqualTo[T]

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  91. def be_==~[T, S](s: ⇒ S)(implicit convert: (S) ⇒ T): Matcher[T]

    matches if a == b after an implicit conversion

    matches if a == b after an implicit conversion

    Definition Classes
    AnyBaseMatchers
  92. def be_>[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    alias for beGreaterThan

    alias for beGreaterThan

    Definition Classes
    NumericBaseMatchers
  93. def be_>=[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    alias for beGreaterThanOrEqualTo

    alias for beGreaterThanOrEqualTo

    Definition Classes
    NumericBaseMatchers
  94. def between[T](t1: T, t2: T)(implicit arg0: (T) ⇒ Ordered[T]): BetweenMatcher[T]

    Definition Classes
    NumericBaseMatchers
  95. implicit def canBeEqual[T](t: ⇒ T): CanBeEqualExpectation[T]

    A value can be tested against another with the === operator.

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

    Definition Classes
    CanBeEqual
  96. def checkFailure[T](m: MatchResult[T]): MatchResult[T]

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

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

    Attributes
    protected
    Definition Classes
    Expectations
  97. def checkMatchResultFailure[T](m: MatchResult[T]): MatchResult[T]

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

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

    Attributes
    protected
    Definition Classes
    Expectations
  98. def checkResultFailure(r: Result): Result

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

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

    Attributes
    protected
    Definition Classes
    Expectations
  99. implicit def checkableSeqIsContainCheckSeq[T](seq: Seq[T])(implicit to: (T) ⇒ ContainCheck[T]): Seq[ContainCheck[T]]

    Definition Classes
    TraversableBaseMatchersLowImplicits
  100. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  101. def closeTo[S](delta: Delta[S])(implicit arg0: Numeric[S]): Matcher[S]

    Definition Classes
    NumericBaseMatchers
  102. def closeTo[S](n: S, delta: S)(implicit arg0: Numeric[S]): Matcher[S]

    Definition Classes
    NumericBaseMatchers
  103. implicit def combineBoolean(b: ⇒ Boolean): ResultLogicalCombinator

    Definition Classes
    ResultLogicalCombinators
  104. implicit def combineMatchResult[T](m: ⇒ MatchResult[T]): MatchResultCombinator[T]

    Definition Classes
    MatchResultLogicalCombinators
  105. implicit def combineResult(r: ⇒ Result): ResultLogicalCombinator

    Definition Classes
    ResultLogicalCombinators
  106. def contain(t: Char): Matcher[String]

    matches if (b contains a)

    matches if (b contains a)

    Definition Classes
    StringBaseMatchers
  107. def contain(t: String): Matcher[String]

    matches if (b contains a)

    matches if (b contains a)

    Definition Classes
    StringBaseMatchers
  108. def contain[T](cm: ContainWithResultSeq[T]): ContainWithResultSeq[T]

    COLLECTION MATCHERS

    COLLECTION MATCHERS

    Definition Classes
    TraversableBaseMatchers
  109. def contain[T](check: ContainCheck[T]): ContainWithResult[T]

    ELEMENTS MATCHERS

    ELEMENTS MATCHERS

    Definition Classes
    TraversableBaseMatchers
  110. def containAllOf[T](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)

    Definition Classes
    TraversableBaseMatchers
  111. 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)

    Definition Classes
    TraversableBaseMatchers
  112. def containMatch[T](t: ⇒ String): Matcher[GenTraversableOnce[T]]

    match if traversable contains (x matches .

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

    Definition Classes
    TraversableBaseMatchers
  113. def containPattern[T](t: ⇒ String): Matcher[GenTraversableOnce[T]]

    match if traversable contains (x matches p)

    match if traversable contains (x matches p)

    Definition Classes
    TraversableBaseMatchers
  114. def containTheSameElementsAs[T](seq: Seq[T]): Matcher[Traversable[T]]

    does a containAll comparison in both ways

    does a containAll comparison in both ways

    Definition Classes
    TraversableBaseMatchers
  115. def containing(s: String): Matcher[String]

    Definition Classes
    StringBeHaveMatchers
  116. def createExpectable[T](t: ⇒ T, alias: Option[(String) ⇒ String]): Expectable[T]

    returns

    an Expectable with a description function

    Definition Classes
    Expectations
  117. def createExpectable[T](t: ⇒ T, alias: (String) ⇒ String): Expectable[T]

    returns

    an Expectable with a description function

    Definition Classes
    Expectations
  118. def createExpectable[T](t: ⇒ T, alias: ⇒ String): Expectable[T]

    returns

    an Expectable with a description

    Definition Classes
    Expectations
  119. def createExpectable[T](t: ⇒ T): Expectable[T]

    returns

    an Expectable

    Definition Classes
    Expectations
  120. def createExpectableWithShowAs[T](t: ⇒ T, showAs: ⇒ String): Expectable[T]

    returns

    an Expectable with a function to show the element T

    Definition Classes
    Expectations
  121. def definedAt[K](values: K*): Matcher[PartialFunction[K, Any]]

    Definition Classes
    MapBeHaveMatchers
  122. def definedBy[K, V](values: (K, V)*): Matcher[PartialFunction[K, V]]

    Definition Classes
    MapBeHaveMatchers
  123. implicit def describe[T](t: ⇒ T): Descriptible[T]

    describe a value with the aka method

    describe a value with the aka method

    Definition Classes
    Expectations
  124. implicit def describeExpectation(description: String): ExpectationDescription

    Definition Classes
    ExpectationsDescription
  125. implicit def downcastBeEqualTypedContainCheck[T, S >: T](check: BeEqualTypedContainCheck[T]): ContainCheck[S]

    Definition Classes
    ContainChecks
  126. def empty[T <: Any { def isEmpty: Boolean }]: Matcher[T]

    Definition Classes
    AnyBeHaveMatchers
  127. def endWith(t: ⇒ String): Matcher[String]

    matches if b.

    matches if b.endsWith(a)

    Definition Classes
    StringBaseMatchers
  128. def endingWith(s: ⇒ String): Matcher[String]

    Definition Classes
    StringBeHaveMatchers
  129. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  130. def equalTo[T](t: ⇒ T): BeEqualTo

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  131. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  132. def eventually[T](nested: ⇒ Matcher[T]): Matcher[T]

    returns

    a matcher that will retry the nested matcher 40 times

    Definition Classes
    EventuallyMatchers
  133. def eventually[T](retries: Int, sleep: Duration)(nested: ⇒ Matcher[T]): Matcher[T]

    returns

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

    Definition Classes
    EventuallyMatchers
  134. def eventually[T](result: ⇒ T)(implicit arg0: AsResult[T]): T

    returns

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

    Definition Classes
    EventuallyResults
  135. def eventually[T](retries: Int, sleep: Duration)(result: ⇒ T)(implicit arg0: AsResult[T]): T

    returns

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

    Definition Classes
    EventuallyResults
  136. def exactly[T](checks: ContainCheck[T]*): ContainWithResultSeq[T]

    Definition Classes
    TraversableBaseMatchers
  137. def failedTry[T]: FailedTryMatcher[T]

    Definition Classes
    TryBaseMatchers
  138. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  139. def find(r: Regex): FindMatcherRegex

    matches if the regexp r is found inside b

    matches if the regexp r is found inside b

    Definition Classes
    StringBaseMatchers
  140. def find(p: Pattern): FindMatcherPattern

    matches if the pattern p is found inside b

    matches if the pattern p is found inside b

    Definition Classes
    StringBaseMatchers
  141. def find(a: ⇒ String): FindMatcher

    matches if the regexp a is found inside b

    matches if the regexp a is found inside b

    Definition Classes
    StringBaseMatchers
  142. def forall[T](matcher: Matcher[T]): ContainWithResult[T]

    apply a matcher for all values

    apply a matcher for all values

    Definition Classes
    MatchersImplicits
  143. def forall[T, R](values: GenTraversableOnce[T])(f: (T) ⇒ R)(implicit arg0: AsResult[R]): MatchResult[GenTraversableOnce[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

    Definition Classes
    MatchersImplicits
  144. def forallWhen[T, U](values: GenTraversable[T])(f: PartialFunction[T, MatchResult[U]]): MatchResult[GenTraversableOnce[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

    Definition Classes
    MatchersImplicits
  145. def foreach[T](matcher: Matcher[T]): ContainWithResult[T]

    apply a matcher foreach value

    apply a matcher foreach value

    Definition Classes
    MatchersImplicits
  146. def foreach[T, R](values: GenTraversableOnce[T])(f: (T) ⇒ R)(implicit arg0: AsResult[R]): MatchResult[GenTraversableOnce[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

    Definition Classes
    MatchersImplicits
  147. def foreachWhen[T, R](values: GenTraversable[T])(f: PartialFunction[T, R])(implicit arg0: AsResult[R]): MatchResult[GenTraversableOnce[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

    Definition Classes
    MatchersImplicits
  148. implicit def fromMatchResult(r: ⇒ MatchResult[_]): Boolean

    implicit definition to accept any MatchResult as a Boolean value.

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

    Definition Classes
    MatchResultImplicits
  149. implicit def functionAndKoMessageToMatcher[T](f: ((T) ⇒ Boolean, (T) ⇒ String)): Matcher[T]

    This method transform a function to a Matcher

    This method transform a function to a Matcher

    Definition Classes
    MatchersImplicits
  150. implicit def functionAndMessagesToMatcher[T](f: ((T) ⇒ Boolean, (T) ⇒ String, (T) ⇒ String)): Matcher[T]

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

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

    Definition Classes
    MatchersImplicits
  151. implicit def functionIsContainCheck[T, R](f: (T) ⇒ R)(implicit arg0: AsResult[R]): ContainCheck[T]

    Definition Classes
    ContainChecks
  152. implicit def functionToMatcher[T](f: ((T) ⇒ Boolean, String)): Matcher[T]

    This method transform a function to a Matcher

    This method transform a function to a Matcher

    Definition Classes
    MatchersImplicits
  153. implicit def functionToMatcher2[T](f: ((T) ⇒ Boolean, String, String)): Matcher[T]

    This method transform a function to a Matcher

    This method transform a function to a Matcher

    Definition Classes
    MatchersImplicits
  154. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  155. def greaterThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    Definition Classes
    NumericBaseMatchers
  156. def greaterThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): Matcher[S]

    Definition Classes
    NumericBaseMatchers
  157. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  158. def have[T](function: (T) ⇒ Boolean): Matcher[GenTraversableOnce[T]]

    Matches if there is one element in the traversable verifying the function parameter: (traversable.exists(function(_))

    Matches if there is one element in the traversable verifying the function parameter: (traversable.exists(function(_))

    Definition Classes
    DeprecatedTraversableBaseMatchers
  159. def have: NeutralMatcher[Any]

    Definition Classes
    BeHaveMatchers
  160. def haveAllElementsLike[T, S](like: PartialFunction[T, MatchResult[S]]): HaveAllElementsLike[T, S]

    Matches if all elements are matching a "like" function

    Matches if all elements are matching a "like" function

    Definition Classes
    DeprecatedTraversableBaseMatchers
  161. def haveClass[T](implicit arg0: ClassTag[T]): Matcher[Any]

    matches if v.

    matches if v.getClass == c

    Definition Classes
    AnyBaseMatchers
  162. def haveInterface[T](implicit arg0: ClassTag[T]): Matcher[Any]

    matches if x.

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

    Definition Classes
    AnyBaseMatchers
  163. def haveKey[K](k: K): Matcher[Iterable[(K, Any)]]

    matches if map.

    matches if map.contains(k)

    Definition Classes
    MapBaseMatchers
  164. def haveKeys[K](keys: K*): Matcher[Iterable[(K, Any)]]

    matches if map.

    matches if map.contains(k) forall key k

    Definition Classes
    MapBaseMatchers
  165. def haveLength[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  166. def haveOneElementLike[T, S](like: PartialFunction[T, MatchResult[S]]): HaveOneElementLike[T, S]

    Matches if there is at least one matching a "like" function

    Matches if there is at least one matching a "like" function

    Definition Classes
    DeprecatedTraversableBaseMatchers
  167. def havePair[K, V](p: (K, V)): Matcher[Iterable[(K, V)]]

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

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

    Definition Classes
    MapBaseMatchers
  168. 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

    Definition Classes
    MapBaseMatchers
  169. def haveSize[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]

    match if there is a way to size T

    match if there is a way to size T

    Definition Classes
    TraversableBaseMatchers
  170. def haveSuperclass[T](implicit arg0: ClassTag[T]): Matcher[Any]

    matches if c.

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

    Definition Classes
    AnyBaseMatchers
  171. def haveTheSameElementsAs[T](l: ⇒ Traversable[T], equality: (T, T) ⇒ Boolean = (_:T) == (_:T)): HaveTheSameElementsAs[T]

    Matches if there l contains the same elements as the Traversable traversable.

    Matches if there l contains the same elements as the Traversable traversable.

    Definition Classes
    DeprecatedTraversableBaseMatchers
  172. def haveValue[V](v: V): Matcher[Iterable[(Any, V)]]

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

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

    Definition Classes
    MapBaseMatchers
  173. 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

    Definition Classes
    MapBaseMatchers
  174. implicit lazy val implicitParam: ImplicitParam

    Definition Classes
    ImplicitParameters
  175. implicit lazy val implicitParam1: ImplicitParam1

    Definition Classes
    ImplicitParameters
  176. implicit lazy val implicitParam10: ImplicitParam10

    Definition Classes
    ImplicitParameters
  177. implicit lazy val implicitParam2: ImplicitParam2

    Definition Classes
    ImplicitParameters
  178. implicit lazy val implicitParam3: ImplicitParam3

    Definition Classes
    ImplicitParameters
  179. implicit lazy val implicitParam4: ImplicitParam4

    Definition Classes
    ImplicitParameters
  180. implicit lazy val implicitParam5: ImplicitParam5

    Definition Classes
    ImplicitParameters
  181. implicit lazy val implicitParam6: ImplicitParam6

    Definition Classes
    ImplicitParameters
  182. implicit lazy val implicitParam7: ImplicitParam7

    Definition Classes
    ImplicitParameters
  183. implicit lazy val implicitParam8: ImplicitParam8

    Definition Classes
    ImplicitParameters
  184. implicit lazy val implicitParam9: ImplicitParam9

    Definition Classes
    ImplicitParameters
  185. implicit lazy val implicitsAreAllowed: implicitConversions

    Definition Classes
    LanguageFeatures
  186. def interface[T](implicit arg0: ClassTag[T]): Matcher[Any]

    Definition Classes
    AnyBeHaveMatchers
  187. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  188. implicit def javaCollectionIsSized[T <: Collection[_]]: Sized[T]

    any java collection has a size

    any java collection has a size

    Definition Classes
    TraversableBaseMatchers
  189. def key[K](k: K): Matcher[Iterable[(K, Any)]]

    Definition Classes
    MapBeHaveMatchers
  190. def keys[K](ks: K*): Matcher[Iterable[(K, Any)]]

    Definition Classes
    MapBeHaveMatchers
  191. def klass[T](implicit arg0: ClassTag[T]): Matcher[Any]

    Definition Classes
    AnyBeHaveMatchers
  192. implicit def lazyfy[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

    Definition Classes
    LazyParameters
  193. def left[T]: LeftMatcher[Nothing]

    Definition Classes
    EitherBaseMatchers
  194. def left[T](t: ⇒ T): Matcher[Either[T, _]]

    Definition Classes
    EitherBaseMatchers
  195. def length[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  196. def lessThan[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThan[S]

    Definition Classes
    NumericBaseMatchers
  197. def lessThanOrEqualTo[S](n: S)(implicit arg0: (S) ⇒ Ordered[S]): BeLessThanOrEqualTo[S]

    Definition Classes
    NumericBaseMatchers
  198. def like[T](pattern: ⇒ PartialFunction[T, MatchResult[_]]): Matcher[T]

    Definition Classes
    AnyBeHaveMatchers
  199. def likeA[T](pattern: ⇒ PartialFunction[T, MatchResult[_]]): Matcher[T]

    Definition Classes
    AnyBeHaveMatchers
  200. def mapMatchResult[T](m: MatchResult[T]): MatchResult[T]

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

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

    Attributes
    protected
    Definition Classes
    Expectations
  201. implicit def matchResultAsResult[M[_] <: MatchResult[_]]: AsResult[M[_]]

    implicit typeclass instance to create examples from MatchResults

    implicit typeclass instance to create examples from MatchResults

    Definition Classes
    MatchResultImplicits
  202. implicit def matchResultFunctionToMatcher[T, R](f: (T) ⇒ R)(implicit arg0: AsResult[R]): Matcher[T]

    This method transform a function returning a Result to a Matcher

    This method transform a function returning a Result to a Matcher

    Definition Classes
    MatchersImplicits
  203. implicit def matchResultSeqAsResult[T]: AsResult[Seq[MatchResult[T]]]

    implicit typeclass instance to create examples from a sequence of MatchResults

    implicit typeclass instance to create examples from a sequence of MatchResults

    Definition Classes
    MatchResultImplicits
  204. implicit def matcherIsContainCheck[T](m: Matcher[T]): ContainCheck[T]

    Definition Classes
    ContainChecks
  205. implicit def matcherSeqIsContainCheckSeq[T](seq: Seq[Matcher[T]]): Seq[ContainCheck[T]]

    Definition Classes
    TraversableBaseMatchersLowImplicits
  206. def matching(r: Regex): BeMatchingRegex

    Definition Classes
    StringBeHaveMatchers
  207. def matching(t: Pattern): BeMatchingPattern

    Definition Classes
    StringBeHaveMatchers
  208. def matching(t: ⇒ String): BeMatching

    Definition Classes
    StringBeHaveMatchers
  209. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  210. def negate(r: Result): Result

    Definition Classes
    Results
  211. def negateSentence(sentence: String): String

    replace the first occurrence of a verb in the negations table with its negation.

    replace the first occurrence of a verb in the negations table with its negation.

    We first try to negate an existing negation

    Definition Classes
    Sentences
  212. lazy val negationsTable: BiMap[String, String]

    Attributes
    protected
    Definition Classes
    Sentences
  213. def none: Matcher[Option[Any]]

    Definition Classes
    OptionBaseMatchers
  214. def not: NotMatcher[Any]

    Definition Classes
    BeHaveMatchers
  215. def not[T](m: Matcher[T]): Matcher[T]

    negate a matcher

    negate a matcher

    Definition Classes
    AnyBaseMatchers
  216. final def notify(): Unit

    Definition Classes
    AnyRef
  217. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  218. def oneElementLike[T, S](like: PartialFunction[T, MatchResult[S]]): HaveOneElementLike[T, S]

    Matches if there is at least one matching a "like" function

    Matches if there is at least one matching a "like" function

    Definition Classes
    DeprecatedTraversableBaseMatchers
  219. def oneOf[T](t: T*): Matcher[T]

    Definition Classes
    AnyBeHaveMatchers
  220. implicit def orderedSeqMatchResult[T](result: MatchResult[Seq[T]])(implicit arg0: Ordering[T]): OrderedSeqMatchResult[T]

    Definition Classes
    TraversableBeHaveMatchers
  221. def pair[K, V](p: (K, V)): Matcher[Iterable[(K, V)]]

    Definition Classes
    MapBeHaveMatchers
  222. implicit def pairFunctionToMatcher[T](f: (T) ⇒ (Boolean, String)): Matcher[T]

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

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

    Definition Classes
    MatchersImplicits
  223. def pairs[K, V](pairs: (K, V)*): Matcher[Iterable[(K, V)]]

    Definition Classes
    MapBeHaveMatchers
  224. implicit lazy val postfixOpsAreAllowed: postfixOps

    Definition Classes
    LanguageFeatures
  225. def right[T]: RightMatcher[Nothing]

    Definition Classes
    EitherBaseMatchers
  226. def right[T](t: ⇒ T): Matcher[Either[_, T]]

    Definition Classes
    EitherBaseMatchers
  227. implicit def scalaArrayIsSized[T]: Sized[Array[T]]

    any scala array has a size

    any scala array has a size

    Definition Classes
    TraversableBaseMatchers
  228. implicit def scalaTraversableIsSized[I <: GenTraversable[_]]: Sized[I]

    any scala collection has a size

    any scala collection has a size

    Definition Classes
    TraversableBaseMatchers
  229. 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

    Definition Classes
    MatchResultImplicits
  230. def size[T](n: Int)(implicit arg0: Sized[T]): SizedMatcher[T]

    alias for haveSize

    alias for haveSize

    Definition Classes
    TraversableBaseMatchers
  231. implicit def sized[T](s: MatchResult[T])(implicit arg0: Sized[T]): HasSize[T]

    Definition Classes
    TraversableBeHaveMatchers
  232. def some[T]: SomeMatcher[T]

    Definition Classes
    OptionBaseMatchers
  233. def some[T](t: ⇒ T): Matcher[Option[T]]

    Definition Classes
    OptionBaseMatchers
  234. def sorted[T](implicit arg0: Ordering[T]): OrderingMatcher[T]

    alias for beSorted

    alias for beSorted

    Definition Classes
    TraversableBaseMatchers
  235. def startWith(t: String): Matcher[String]

    matches if b.

    matches if b.startsWith(a)

    Definition Classes
    StringBaseMatchers
  236. def startingWith(s: ⇒ String): Matcher[String]

    Definition Classes
    StringBeHaveMatchers
  237. implicit def stringIsSized: Sized[String]

    a regular string has a size, without having to be converted to an Traversable

    a regular string has a size, without having to be converted to an Traversable

    Definition Classes
    TraversableBaseMatchers
  238. implicit def stringMatcher(m: AdaptableMatcher[Any]): StringMatcher

    adapt the BeEqualTo matcher to provide ignoreCase and ignoreSpace matcher

    adapt the BeEqualTo matcher to provide ignoreCase and ignoreSpace matcher

    Definition Classes
    StringBaseMatchers
  239. implicit def stringMatcherIsTraversableMatcher(m: Matcher[String]): Matcher[GenTraversableOnce[String]]

    this allows the contain(string) matcher for StringMatchers to be used with a Traversable

    this allows the contain(string) matcher for StringMatchers to be used with a Traversable

    Definition Classes
    TraversableBaseMatchersLowImplicits
  240. def successfulTry[T]: SuccessTryMatcher[T]

    Definition Classes
    TryBaseMatchers
  241. def superClass[T](implicit arg0: ClassTag[T]): Matcher[Any]

    Definition Classes
    AnyBeHaveMatchers
  242. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  243. def throwA[E <: Throwable](e: E): ExceptionMatcher[E]

    returns

    a matcher checking the value of an Exception

    Definition Classes
    ExceptionBaseMatchers
  244. 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)

    Definition Classes
    ExceptionBaseMatchers
  245. def throwA[E <: Throwable](implicit m: ClassTag[E]): ExceptionClassMatcher

    returns

    a matcher checking the type of an Exception

    Definition Classes
    ExceptionBaseMatchers
  246. def throwAn[E <: Throwable](e: E): ExceptionMatcher[E]

    alias for throwA

    alias for throwA

    Definition Classes
    ExceptionBaseMatchers
  247. def throwAn[E <: Throwable](message: String = ".*")(implicit m: ClassTag[E]): Matcher[Any]

    alias for throwA

    alias for throwA

    Definition Classes
    ExceptionBaseMatchers
  248. def throwAn[E <: Throwable](implicit m: ClassTag[E]): ExceptionClassMatcher

    alias for throwA

    alias for throwA

    Definition Classes
    ExceptionBaseMatchers
  249. 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

    Definition Classes
    NumberOfTimes
  250. implicit def toAnyMatcherResult(result: MatchResult[Any]): AnyMatcherResult

    Definition Classes
    AnyBeHaveMatchers
  251. implicit def toAnyRefMatcherResult[T <: AnyRef](result: MatchResult[T]): AnyRefMatcherResult[T]

    Definition Classes
    AnyBeHaveMatchers
  252. implicit def toBeLikeResultMatcher[T](result: MatchResult[T]): BeLikeResultMatcher[T]

    Definition Classes
    AnyBeHaveMatchers
  253. implicit def toClassMatcherResult(result: MatchResult[Class[_]]): ClassMatcherResult

    Definition Classes
    AnyBeHaveMatchers
  254. implicit def toEitherResultMatcher[L, R](result: MatchResult[Either[L, R]]): EitherResultMatcher[L, R]

    Definition Classes
    EitherBeHaveMatchers
  255. implicit def toExceptionMatcher[T](result: MatchResult[T]): ExceptionMatcherResult[T]

    Definition Classes
    ExceptionBeHaveMatchers
  256. implicit def toMapKeyResultMatcher[K](result: MatchResult[Iterable[(K, Any)]]): MapKeyResultMatcher[K]

    Definition Classes
    MapBeHaveMatchers
  257. implicit def toMapResultMatcher[K, V](result: MatchResult[Iterable[(K, V)]]): MapResultMatcher[K, V]

    Definition Classes
    MapBeHaveMatchers
  258. implicit def toMapValueResultMatcher[V](result: MatchResult[Iterable[(Any, V)]]): MapValueResultMatcher[V]

    Definition Classes
    MapBeHaveMatchers
  259. implicit def toNeutralMatcherNumeric(result: NeutralMatcher[Any]): NeutralMatcherNumeric

    Definition Classes
    NumericBeHaveMatchers
  260. implicit def toNeutralMatcherOrdered(result: NeutralMatcher[Any]): NeutralMatcherOrdered

    Definition Classes
    NumericBeHaveMatchers
  261. implicit def toNeutralStringMatcher(result: NeutralMatcher[Any]): NeutralStringMatcher

    Definition Classes
    StringBeHaveMatchers
  262. implicit def toNotStringMatcher(result: NotMatcher[Any]): NotStringMatcher

    Definition Classes
    StringBeHaveMatchers
  263. implicit def toNumericResultMatcher[S](result: MatchResult[S])(implicit arg0: Numeric[S]): NumericResultMatcher[S]

    Definition Classes
    NumericBeHaveMatchers
  264. implicit def toOptionResultMatcher[T](result: MatchResult[Option[T]]): OptionResultMatcher[T]

    Definition Classes
    OptionBeHaveMatchers
  265. implicit def toOrderedResultMatcher[S](result: MatchResult[S])(implicit arg0: (S) ⇒ Ordered[S]): OrderedResultMatcher[S]

    matcher aliases and implicits to use with be + matcher

    matcher aliases and implicits to use with be + matcher

    Definition Classes
    NumericBeHaveMatchers
  266. implicit def toPartialFunctionResultMatcher[K, V](result: MatchResult[PartialFunction[K, V]]): PartialFunctionResultMatcher[K, V]

    Definition Classes
    MapBeHaveMatchers
  267. 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

    Definition Classes
    Results
  268. def toString(): String

    Definition Classes
    AnyRef → Any
  269. implicit def toStringResultMatcher(result: MatchResult[String]): StringResultMatcher

    Definition Classes
    StringBeHaveMatchers
  270. implicit def toTryResultMatcher[T](result: MatchResult[Try[T]]): TryResultMatcher[T]

    Definition Classes
    TryBeHaveMatchers
  271. implicit def traversable[T](s: MatchResult[Traversable[T]]): TraversableBeHaveMatchers[T]

    Definition Classes
    TraversableBeHaveMatchers
  272. implicit def tripletFunctionToMatcher[T](f: (T) ⇒ (Boolean, String, String)): Matcher[T]

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

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

    Definition Classes
    MatchersImplicits
  273. def typedEqualTo[T](t: ⇒ T, equality: (T, T) ⇒ Boolean = (t1:T, t2:T) => t1 == t2): BeTypedEqualTo[T]

    matches if a == b

    matches if a == b

    Definition Classes
    AnyBaseMatchers
  274. def value[V](v: V): Matcher[Iterable[(Any, V)]]

    Definition Classes
    MapBeHaveMatchers
  275. implicit def valueIsTypedContainCheck[T](expected: T): BeEqualTypedContainCheck[T]

    Definition Classes
    TraversableBaseMatchersLowImplicits
  276. def values[V](vs: V*): Matcher[Iterable[(Any, V)]]

    Definition Classes
    MapBeHaveMatchers
  277. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  278. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  279. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  280. def ~[S](delta: Delta[S])(implicit arg0: Numeric[S]): Matcher[S]

    alias for beCloseTo

    alias for beCloseTo

    Definition Classes
    NumericBaseMatchers
  281. def ~[S](n: S)(delta: S)(implicit arg0: Numeric[S]): Matcher[S]

    alias for beCloseTo

    alias for beCloseTo

    Definition Classes
    NumericBaseMatchers

Inherited from Matchers

Inherited from LanguageFeatures

Inherited from MatchersImplicits

Inherited from ExpectationsDescription

Inherited from Sentences

Inherited from MatchResultImplicits

Inherited from MatchResultCombinators

Inherited from ResultLogicalCombinators

Inherited from Results

Inherited from MatchResultLogicalCombinators

Inherited from EventuallyMatchers

Inherited from EventuallyResults

Inherited from TryMatchers

Inherited from TryBeHaveMatchers

Inherited from TryBaseMatchers

Inherited from EitherMatchers

Inherited from EitherBeHaveMatchers

Inherited from EitherBaseMatchers

Inherited from OptionMatchers

Inherited from OptionBeHaveMatchers

Inherited from OptionBaseMatchers

Inherited from NumericMatchers

Inherited from NumericBeHaveMatchers

Inherited from NumericBaseMatchers

Inherited from ExceptionMatchers

Inherited from ExceptionBeHaveMatchers

Inherited from ExceptionBaseMatchers

Inherited from Expectations

Inherited from CanBeEqual

Inherited from StringMatchers

Inherited from StringBeHaveMatchers

Inherited from StringBaseMatchers

Inherited from MapMatchers

Inherited from MapBeHaveMatchers

Inherited from MapBaseMatchers

Inherited from TraversableMatchers

Inherited from DeprecatedTraversableBaseMatchers

Inherited from matcher.TraversableBeHaveMatchers

Inherited from LazyParameters

Inherited from NumberOfTimes

Inherited from TraversableBaseMatchers

Inherited from ImplicitParameters

Inherited from TraversableBaseMatchersLowImplicits

Inherited from ContainChecks

Inherited from BeHaveMatchers

Inherited from AnyMatchers

Inherited from matcher.AnyBeHaveMatchers

Inherited from AnyBaseMatchers

Inherited from AnyRef

Inherited from Any

Ungrouped