Trait/Object

org.specs2.mock.mockito

CalledMatchers

Related Docs: object CalledMatchers | package mockito

Permalink

trait CalledMatchers extends NumberOfTimes with FunctionArguments with TheMockitoMocker with Expectations

This trait provides methods to declare expectations on mock calls:

there was one(mockedList).get(0)
there was no(mockedList).get(0)

there was two(mockedList).get(0)
there was three(mockedList).get(0)
there was 4.times(mockedList).get(0)

there was atLeastOne(mockedList).get(0)
there was atLeastTwo(mockedList).get(0)
there was atLeastThree(mockedList).get(0)
there was atLeast(4)(mockedList).get(0)
there was atMostOne(mockedList).get(0)
there was atMostTwo(mockedList).get(0)
there was atMostThree(mockedList).get(0)
there was atMost(4)(mockedList).get(0)

It is also possible to use a different wording:

there were two(mockedList).get(0)
got { two(mockedList).get(0) }
Linear Supertypes
TheMockitoMocker, FunctionArguments, FunctionArgumentsLowImplicits, Expectations, ExpectationsDescription, TypedEqual, ExpectationsCreation, MatchResultStackTrace, ArgThat, NumberOfTimes, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CalledMatchers
  2. TheMockitoMocker
  3. FunctionArguments
  4. FunctionArgumentsLowImplicits
  5. Expectations
  6. ExpectationsDescription
  7. TypedEqual
  8. ExpectationsCreation
  9. MatchResultStackTrace
  10. ArgThat
  11. NumberOfTimes
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class Calls extends AnyRef

    Permalink

    class supporting 'was' and 'were' methods to forward mockito calls to the CallsMatcher matcher

  2. class Descriptible[T] extends AnyRef

    Permalink
    Definition Classes
    ExpectationsDescription
  3. class ExpectationDescription extends AnyRef

    Permalink
    Definition Classes
    ExpectationsDescription
  4. case class MockitoVerificationWithTimeout(duration: Duration) extends Product with Serializable

    Permalink
  5. implicit class TimesCall extends AnyRef

    Permalink

    class providing a apply method to be able to declare a number of calls: 3.times(m).clear() is actually 3.times.apply(m).clear()

  6. class ToInOrderMode[T] extends AnyRef

    Permalink

    class defining a then method to declare that calls must be made in a specific order.

    class defining a then method to declare that calls must be made in a specific order.

    The orderedBy method can be used to declare the mock order if there are several mocks

  7. class TypedEqualExpectation[T] extends AnyRef

    Permalink
    Definition Classes
    TypedEqual

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def after(duration: Duration): MockitoVerificationWithTimeout

    Permalink

    add a timeout constraint to the verification

  5. def anArgThat[T, U <: T](m: Matcher[U]): T

    Permalink

    allows to use a hamcrest matchers to match parameters.

    allows to use a hamcrest matchers to match parameters.

    Definition Classes
    ArgThat
  6. implicit def argThat[T, U <: T](m: Matcher[U]): T

    Permalink

    allows to use a specs matcher to match parameters by encapsulating it as a Hamcrest matcher.

    allows to use a specs matcher to match parameters by encapsulating it as a Hamcrest matcher.

    Definition Classes
    ArgThat
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def atLeast[T <: AnyRef](i: Int)(mock: T)(implicit anOrder: Option[InOrder] = inOrder()): T

    Permalink

    at least n calls made to the mock

  9. def atLeastOne[T <: AnyRef](mock: T)(implicit anOrder: Option[InOrder] = inOrder()): T

    Permalink

    at least 1 call made to the mock

  10. def atLeastThree[T <: AnyRef](mock: T)(implicit anOrder: Option[InOrder] = inOrder()): T

    Permalink

    at least 3 calls made to the mock

  11. def atLeastTwo[T <: AnyRef](mock: T)(implicit anOrder: Option[InOrder] = inOrder()): T

    Permalink

    at least 2 calls made to the mock

  12. def atMost[T <: AnyRef](i: Int)(mock: T)(implicit anOrder: Option[InOrder] = inOrder()): T

    Permalink

    at most n calls made to the mock

  13. def atMostOne[T <: AnyRef](mock: T)(implicit anOrder: Option[InOrder] = inOrder()): T

    Permalink

    at most 1 call made to the mock

  14. def atMostThree[T <: AnyRef](mock: T)(implicit anOrder: Option[InOrder] = inOrder()): T

    Permalink

    at most 3 calls made to the mock

  15. def atMostTwo[T <: AnyRef](mock: T)(implicit anOrder: Option[InOrder] = inOrder()): T

    Permalink

    at most 2 calls made to the mock

  16. def callMatching[A, R](a: A, m: Matcher[R]): (A) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  17. def callMatching10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, m: Matcher[R]): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  18. def callMatching11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, m: Matcher[R]): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  19. def callMatching12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, m: Matcher[R]): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  20. def callMatching13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, m: Matcher[R]): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  21. def callMatching14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, m: Matcher[R]): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  22. def callMatching15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, t15: T15, m: Matcher[R]): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  23. def callMatching16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, t15: T15, t16: T16, m: Matcher[R]): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  24. def callMatching17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, t15: T15, t16: T16, t17: T17, m: Matcher[R]): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  25. def callMatching18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, t15: T15, t16: T16, t17: T17, t18: T18, m: Matcher[R]): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  26. def callMatching19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, t15: T15, t16: T16, t17: T17, t18: T18, t19: T19, m: Matcher[R]): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  27. def callMatching2[T1, T2, R](t1: T1, t2: T2, m: Matcher[R]): (T1, T2) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  28. def callMatching20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, t15: T15, t16: T16, t17: T17, t18: T18, t19: T19, t20: T20, m: Matcher[R]): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  29. def callMatching21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, t15: T15, t16: T16, t17: T17, t18: T18, t19: T19, t20: T20, t21: T21, m: Matcher[R]): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  30. def callMatching22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, t15: T15, t16: T16, t17: T17, t18: T18, t19: T19, t20: T20, t21: T21, t22: T22, m: Matcher[R]): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  31. def callMatching3[T1, T2, T3, R](t1: T1, t2: T2, t3: T3, m: Matcher[R]): (T1, T2, T3) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  32. def callMatching4[T1, T2, T3, T4, R](t1: T1, t2: T2, t3: T3, t4: T4, m: Matcher[R]): (T1, T2, T3, T4) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  33. def callMatching5[T1, T2, T3, T4, T5, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, m: Matcher[R]): (T1, T2, T3, T4, T5) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  34. def callMatching6[T1, T2, T3, T4, T5, T6, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, m: Matcher[R]): (T1, T2, T3, T4, T5, T6) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  35. def callMatching7[T1, T2, T3, T4, T5, T6, T7, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, m: Matcher[R]): (T1, T2, T3, T4, T5, T6, T7) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  36. def callMatching8[T1, T2, T3, T4, T5, T6, T7, T8, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, m: Matcher[R]): (T1, T2, T3, T4, T5, T6, T7, T8) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  37. def callMatching9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, m: Matcher[R]): (T1, T2, T3, T4, T5, T6, T7, T8, T9) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  38. def checkFailure[T](m: MatchResult[T]): MatchResult[T]

    Permalink
    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  39. def checkMatchResultFailure[T](m: MatchResult[T]): MatchResult[T]

    Permalink
    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  40. def checkResultFailure(r: ⇒ Result): Result

    Permalink
    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  41. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. def createExpectable[T](t: ⇒ T, alias: Option[(String) ⇒ String]): Expectable[T]

    Permalink
    Definition Classes
    ExpectationsCreation
  43. def createExpectable[T](t: ⇒ T, alias: (String) ⇒ String): Expectable[T]

    Permalink
    Definition Classes
    ExpectationsCreation
  44. def createExpectable[T](t: ⇒ T, alias: ⇒ String): Expectable[T]

    Permalink
    Definition Classes
    ExpectationsCreation
  45. def createExpectable[T](t: ⇒ T): Expectable[T]

    Permalink
    Definition Classes
    ExpectationsCreation
  46. def createExpectableWithShowAs[T](t: ⇒ T, showAs: ⇒ String): Expectable[T]

    Permalink
    Definition Classes
    ExpectationsCreation
  47. implicit def describe[T](t: ⇒ T): Descriptible[T]

    Permalink
    Definition Classes
    ExpectationsDescription
  48. implicit def describeExpectation(description: String): ExpectationDescription

    Permalink
    Definition Classes
    ExpectationsDescription
  49. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  50. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  51. def exactly[T <: AnyRef](n: Int)(mock: T)(implicit anOrder: Option[InOrder] = inOrder()): T

    Permalink

    exactly n calls only made to the mock

  52. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  53. def functionCall[A, R](a: A, r: R): (A) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  54. def functionCall10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, r: R): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  55. def functionCall11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, r: R): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  56. def functionCall12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, r: R): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  57. def functionCall13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, r: R): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  58. def functionCall14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, r: R): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  59. def functionCall15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, t15: T15, r: R): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  60. def functionCall16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, t15: T15, t16: T16, r: R): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  61. def functionCall17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, t15: T15, t16: T16, t17: T17, r: R): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  62. def functionCall18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, t15: T15, t16: T16, t17: T17, t18: T18, r: R): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  63. def functionCall19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, t15: T15, t16: T16, t17: T17, t18: T18, t19: T19, r: R): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  64. def functionCall2[T1, T2, R](t1: T1, t2: T2, r: R): (T1, T2) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  65. def functionCall20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, t15: T15, t16: T16, t17: T17, t18: T18, t19: T19, t20: T20, r: R): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  66. def functionCall21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, t15: T15, t16: T16, t17: T17, t18: T18, t19: T19, t20: T20, t21: T21, r: R): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  67. def functionCall22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, t10: T10, t11: T11, t12: T12, t13: T13, t14: T14, t15: T15, t16: T16, t17: T17, t18: T18, t19: T19, t20: T20, t21: T21, t22: T22, r: R): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  68. def functionCall3[T1, T2, T3, R](t1: T1, t2: T2, t3: T3, r: R): (T1, T2, T3) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  69. def functionCall4[T1, T2, T3, T4, R](t1: T1, t2: T2, t3: T3, t4: T4, r: R): (T1, T2, T3, T4) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  70. def functionCall5[T1, T2, T3, T4, T5, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, r: R): (T1, T2, T3, T4, T5) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  71. def functionCall6[T1, T2, T3, T4, T5, T6, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, r: R): (T1, T2, T3, T4, T5, T6) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  72. def functionCall7[T1, T2, T3, T4, T5, T6, T7, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, r: R): (T1, T2, T3, T4, T5, T6, T7) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  73. def functionCall8[T1, T2, T3, T4, T5, T6, T7, T8, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, r: R): (T1, T2, T3, T4, T5, T6, T7, T8) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  74. def functionCall9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R](t1: T1, t2: T2, t3: T3, t4: T4, t5: T5, t6: T6, t7: T7, t8: T8, t9: T9, r: R): (T1, T2, T3, T4, T5, T6, T7, T8, T9) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  75. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  76. def got[T](t: ⇒ T): MatchResult[T]

    Permalink

    alias for 'there was'

  77. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  78. def inOrder(stubbed: IgnoreStubs): Option[InOrder]

    Permalink
  79. def inOrder(mocks: AnyRef*): Option[InOrder]

    Permalink
  80. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  81. def mapMatchResult[T](m: MatchResult[T]): MatchResult[T]

    Permalink
    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  82. implicit def matcherToFunctionCall[A, R](values: (A, Matcher[R])): (A) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  83. implicit def matcherToFunctionCall10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R](values: ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10), Matcher[R])): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  84. implicit def matcherToFunctionCall11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R](values: ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11), Matcher[R])): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  85. implicit def matcherToFunctionCall12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R](values: ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12), Matcher[R])): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  86. implicit def matcherToFunctionCall13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R](values: ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13), Matcher[R])): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  87. implicit def matcherToFunctionCall14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R](values: ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14), Matcher[R])): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  88. implicit def matcherToFunctionCall15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R](values: ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15), Matcher[R])): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  89. implicit def matcherToFunctionCall16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R](values: ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16), Matcher[R])): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  90. implicit def matcherToFunctionCall17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R](values: ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17), Matcher[R])): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  91. implicit def matcherToFunctionCall18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R](values: ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18), Matcher[R])): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  92. implicit def matcherToFunctionCall19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R](values: ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19), Matcher[R])): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  93. implicit def matcherToFunctionCall2[T1, T2, R](values: ((T1, T2), Matcher[R])): (T1, T2) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  94. implicit def matcherToFunctionCall20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R](values: ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20), Matcher[R])): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  95. implicit def matcherToFunctionCall21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R](values: ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21), Matcher[R])): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  96. implicit def matcherToFunctionCall22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R](values: ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22), Matcher[R])): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  97. implicit def matcherToFunctionCall3[T1, T2, T3, R](values: ((T1, T2, T3), Matcher[R])): (T1, T2, T3) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  98. implicit def matcherToFunctionCall4[T1, T2, T3, T4, R](values: ((T1, T2, T3, T4), Matcher[R])): (T1, T2, T3, T4) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  99. implicit def matcherToFunctionCall5[T1, T2, T3, T4, T5, R](values: ((T1, T2, T3, T4, T5), Matcher[R])): (T1, T2, T3, T4, T5) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  100. implicit def matcherToFunctionCall6[T1, T2, T3, T4, T5, T6, R](values: ((T1, T2, T3, T4, T5, T6), Matcher[R])): (T1, T2, T3, T4, T5, T6) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  101. implicit def matcherToFunctionCall7[T1, T2, T3, T4, T5, T6, T7, R](values: ((T1, T2, T3, T4, T5, T6, T7), Matcher[R])): (T1, T2, T3, T4, T5, T6, T7) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  102. implicit def matcherToFunctionCall8[T1, T2, T3, T4, T5, T6, T7, T8, R](values: ((T1, T2, T3, T4, T5, T6, T7, T8), Matcher[R])): (T1, T2, T3, T4, T5, T6, T7, T8) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  103. implicit def matcherToFunctionCall9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R](values: ((T1, T2, T3, T4, T5, T6, T7, T8, T9), Matcher[R])): (T1, T2, T3, T4, T5, T6, T7, T8, T9) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  104. implicit def matcherToPartialFunctionCall[A, R](values: (A, Matcher[R])): PartialFunction[A, R]

    Permalink
  105. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  106. def no[T <: AnyRef](mock: T)(implicit anOrder: Option[InOrder] = inOrder()): T

    Permalink

    no call made to the mock

  107. def noCallsTo[T <: AnyRef](mocks: T*): Unit

    Permalink

    no calls made to the mock

  108. def noMoreCallsTo[T <: AnyRef](stubbed: IgnoreStubs): Unit

    Permalink

    no more calls made to the mock

  109. def noMoreCallsTo[T <: AnyRef](mocks: T*): Unit

    Permalink

    no more calls made to the mock

  110. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  111. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  112. def one[T <: AnyRef](mock: T)(implicit anOrder: Option[InOrder] = inOrder()): T

    Permalink

    one call only made to the mock

  113. def partialCallMatching[A, R](a: A, m: Matcher[R]): PartialFunction[A, R]

    Permalink
  114. def partialFunctionCall[A, R](a: A, r: R): PartialFunction[A, R]

    Permalink
  115. def sandboxMatchResult[T](mr: ⇒ MatchResult[T]): MatchResult[T]

    Permalink
    Attributes
    protected
    Definition Classes
    ExpectationsCreation
  116. def setStacktrace[T](m: MatchResult[T]): MatchResult[T]

    Permalink
    Attributes
    protected
    Definition Classes
    MatchResultStackTrace
  117. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  118. def there: Calls

    Permalink

    create an object supporting 'was' and 'were' methods

  119. def three[T <: AnyRef](mock: T)(implicit anOrder: Option[InOrder] = inOrder()): T

    Permalink

    three calls only made to the mock

  120. implicit def timesFor(n: Int): Times

    Permalink
    Definition Classes
    NumberOfTimes
  121. implicit def toFunctionCall[A, R](values: (A, R)): (A) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  122. implicit def toFunctionCall10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R](values: ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10), R)): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  123. implicit def toFunctionCall11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R](values: ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11), R)): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  124. implicit def toFunctionCall12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R](values: ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12), R)): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  125. implicit def toFunctionCall13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R](values: ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13), R)): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  126. implicit def toFunctionCall14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R](values: ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14), R)): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  127. implicit def toFunctionCall15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R](values: ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15), R)): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  128. implicit def toFunctionCall16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R](values: ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16), R)): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  129. implicit def toFunctionCall17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R](values: ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17), R)): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  130. implicit def toFunctionCall18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R](values: ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18), R)): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  131. implicit def toFunctionCall19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R](values: ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19), R)): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  132. implicit def toFunctionCall2[T1, T2, R](values: ((T1, T2), R)): (T1, T2) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  133. implicit def toFunctionCall20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R](values: ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20), R)): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  134. implicit def toFunctionCall21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R](values: ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21), R)): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  135. implicit def toFunctionCall22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R](values: ((T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22), R)): (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  136. implicit def toFunctionCall3[T1, T2, T3, R](values: ((T1, T2, T3), R)): (T1, T2, T3) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  137. implicit def toFunctionCall4[T1, T2, T3, T4, R](values: ((T1, T2, T3, T4), R)): (T1, T2, T3, T4) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  138. implicit def toFunctionCall5[T1, T2, T3, T4, T5, R](values: ((T1, T2, T3, T4, T5), R)): (T1, T2, T3, T4, T5) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  139. implicit def toFunctionCall6[T1, T2, T3, T4, T5, T6, R](values: ((T1, T2, T3, T4, T5, T6), R)): (T1, T2, T3, T4, T5, T6) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  140. implicit def toFunctionCall7[T1, T2, T3, T4, T5, T6, T7, R](values: ((T1, T2, T3, T4, T5, T6, T7), R)): (T1, T2, T3, T4, T5, T6, T7) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  141. implicit def toFunctionCall8[T1, T2, T3, T4, T5, T6, T7, T8, R](values: ((T1, T2, T3, T4, T5, T6, T7, T8), R)): (T1, T2, T3, T4, T5, T6, T7, T8) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  142. implicit def toFunctionCall9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R](values: ((T1, T2, T3, T4, T5, T6, T7, T8, T9), R)): (T1, T2, T3, T4, T5, T6, T7, T8, T9) ⇒ R

    Permalink
    Definition Classes
    FunctionArguments
  143. implicit def toInOrderMode[T](calls: ⇒ T)(implicit arg0: AsResult[T]): ToInOrderMode[T]

    Permalink

    implicit def supporting calls in order

  144. implicit def toPartialFunctionCall[A, R](values: (A, R)): PartialFunction[A, R]

    Permalink
  145. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  146. def two[T <: AnyRef](mock: T)(implicit anOrder: Option[InOrder] = inOrder()): T

    Permalink

    two calls only made to the mock

  147. implicit def typedEqualExpectation[T](t: ⇒ T): TypedEqualExpectation[T]

    Permalink
    Definition Classes
    TypedEqual
  148. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from TheMockitoMocker

Inherited from FunctionArguments

Inherited from Expectations

Inherited from ExpectationsDescription

Inherited from TypedEqual

Inherited from ExpectationsCreation

Inherited from MatchResultStackTrace

Inherited from ArgThat

Inherited from NumberOfTimes

Inherited from AnyRef

Inherited from Any

Ungrouped