Packages

p

org

mockito

package mockito

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. mockito
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait ArgumentMatchersSugar extends AnyMatchers with EqMatchers with ThatMatchers with StringThatMatchers with NullMatchers with FunctionMatchers with MacroBasedMatchers

    Trait that provides some syntax sugar and type mapping.

    Trait that provides some syntax sugar and type mapping.

    It mostly forwards the calls to org.mockito.ArgumentMatchers, but with a few improvements to make it more scala-like It also renames the "eq" matcher to "eqTo" as in Scala "eq" is a keyword used to do object identity equality

  2. trait IdiomaticMockito extends MockCreator
  3. class MockitoScalaSession extends AnyRef
  4. trait MockitoSugar extends MockitoEnhancer with DoSomething with Verifications with Rest

Value Members

  1. def clazz[T](implicit classTag: ClassTag[T]): Class[T]
  2. def functionToAnswer[T, P10, P9, P8, P7, P6, P5, P4, P3, P2, P1, P0](f: (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) ⇒ T): Answer[T]
  3. def functionToAnswer[T, P9, P8, P7, P6, P5, P4, P3, P2, P1, P0](f: (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9) ⇒ T): Answer[T]
  4. def functionToAnswer[T, P8, P7, P6, P5, P4, P3, P2, P1, P0](f: (P0, P1, P2, P3, P4, P5, P6, P7, P8) ⇒ T): Answer[T]
  5. def functionToAnswer[T, P7, P6, P5, P4, P3, P2, P1, P0](f: (P0, P1, P2, P3, P4, P5, P6, P7) ⇒ T): Answer[T]
  6. def functionToAnswer[T, P6, P5, P4, P3, P2, P1, P0](f: (P0, P1, P2, P3, P4, P5, P6) ⇒ T): Answer[T]
  7. def functionToAnswer[T, P5, P4, P3, P2, P1, P0](f: (P0, P1, P2, P3, P4, P5) ⇒ T): Answer[T]
  8. def functionToAnswer[T, P4, P3, P2, P1, P0](f: (P0, P1, P2, P3, P4) ⇒ T): Answer[T]
  9. def functionToAnswer[T, P3, P2, P1, P0](f: (P0, P1, P2, P3) ⇒ T): Answer[T]
  10. def functionToAnswer[T, P2, P1, P0](f: (P0, P1, P2) ⇒ T): Answer[T]
  11. def functionToAnswer[T, P1, P0](f: (P0, P1) ⇒ T): Answer[T]
  12. def functionToAnswer[T, P0](f: (P0) ⇒ T): Answer[T]
  13. def invocationToAnswer[T](f: (InvocationOnMock) ⇒ T): Answer[T]
  14. object ArgumentMatchersSugar extends ArgumentMatchersSugar

    Simple object to allow the usage of the trait without mixing it in

  15. object IdiomaticMockito extends IdiomaticMockito

    Simple object to allow the usage of the trait without mixing it in

  16. object MockitoScalaLogger extends MockitoSessionLogger
  17. object MockitoScalaSession
  18. object MockitoSugar extends MockitoSugar

    Simple object to allow the usage of the trait without mixing it in

Inherited from AnyRef

Inherited from Any

Ungrouped