org.specs2.mock.mockito

MockitoMatchers

Related Docs: object MockitoMatchers | package mockito

trait MockitoMatchers extends ArgThat

Mockito Matchers for the most common types

Linear Supertypes
ArgThat, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MockitoMatchers
  2. ArgThat
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type ¬[A] = (A) ⇒ Nothing

    Definition Classes
    ArgThat

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. def anArgThat[T, U <: T](m: Matcher[U]): T

    allows to use a hamcrest matchers to match parameters.

    allows to use a hamcrest matchers to match parameters.

    Definition Classes
    ArgThat
  5. def any[T](implicit arg0: ClassTag[T]): T

  6. def anyBoolean: Boolean

  7. def anyByte: Byte

  8. def anyChar: Char

  9. def anyDouble: Double

  10. def anyFloat: Float

  11. def anyFunction1[T1, R]: (T1) ⇒ R

  12. def anyFunction10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R]: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) ⇒ R

  13. def anyFunction11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R]: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) ⇒ R

  14. def anyFunction12[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

  15. def anyFunction13[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

  16. def anyFunction14[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

  17. def anyFunction15[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

  18. def anyFunction16[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

  19. def anyFunction17[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

  20. def anyFunction18[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

  21. def anyFunction19[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

  22. def anyFunction2[T1, T2, R]: (T1, T2) ⇒ R

  23. def anyFunction20[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

  24. def anyFunction21[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

  25. def anyFunction22[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

  26. def anyFunction3[T1, T2, T3, R]: (T1, T2, T3) ⇒ R

  27. def anyFunction4[T1, T2, T3, T4, R]: (T1, T2, T3, T4) ⇒ R

  28. def anyFunction5[T1, T2, T3, T4, T5, R]: (T1, T2, T3, T4, T5) ⇒ R

  29. def anyFunction6[T1, T2, T3, T4, T5, T6, R]: (T1, T2, T3, T4, T5, T6) ⇒ R

  30. def anyFunction7[T1, T2, T3, T4, T5, T6, T7, R]: (T1, T2, T3, T4, T5, T6, T7) ⇒ R

  31. def anyFunction8[T1, T2, T3, T4, T5, T6, T7, T8, R]: (T1, T2, T3, T4, T5, T6, T7, T8) ⇒ R

  32. def anyFunction9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R]: (T1, T2, T3, T4, T5, T6, T7, T8, T9) ⇒ R

  33. def anyInt: Int

  34. def anyJavaCollection: Collection[_]

  35. def anyJavaCollectionOf[T](implicit arg0: ClassTag[T]): Collection[_]

  36. def anyJavaList: List[_]

  37. def anyJavaListOf[T](implicit arg0: ClassTag[T]): List[_]

  38. def anyJavaMap: Map[_, _]

  39. def anyJavaMapOf[K, V](implicit arg0: ClassTag[K], arg1: ClassTag[V]): Map[_, _]

  40. def anyJavaSet: Set[_]

  41. def anyJavaSetOf[T](implicit arg0: ClassTag[T]): Set[_]

  42. def anyList: List[Any]

  43. def anyListOf[T](implicit arg0: ClassTag[T]): List[T]

  44. def anyLong: Long

  45. def anyMap: Map[_, Any]

  46. def anyMapOf[K, V](implicit arg0: ClassTag[K], arg1: ClassTag[V]): Map[K, V]

  47. def anyPartialFunction[T, R]: PartialFunction[T, R]

  48. def anySet: Set[_]

  49. def anySetOf[T](implicit arg0: ClassTag[T]): Set[T]

  50. def anyShort: Short

  51. def anyString: String

  52. def anyTraversable: Traversable[Any]

  53. def anyTraversableOf[T](implicit arg0: ClassTag[T]): Traversable[T]

  54. def anyVarArg[T]: T

  55. implicit def argThat[T, U <: T, ¬[N] <: U](m: Matcher[U]): T

    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
  56. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  57. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  60. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  61. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  62. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  63. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  64. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  65. final def notify(): Unit

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

    Definition Classes
    AnyRef
  67. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  68. def toString(): String

    Definition Classes
    AnyRef → Any
  69. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ArgThat

Inherited from AnyRef

Inherited from Any

Ungrouped