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

    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. class DecoratedAnswer extends DefaultAnswer
  3. trait DefaultAnswer extends Answer[Any] with Function[InvocationOnMock, Option[Any]]
  4. trait IdiomaticMockito extends MockCreator
  5. class MockitoScalaSession extends AnyRef
  6. trait MockitoSugar extends MockitoEnhancer with DoSomething with Verifications with Rest

Value Members

  1. def clazz[T <: AnyRef](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 CallsRealMethods extends DecoratedAnswer
  16. object DefaultAnswer
  17. object DefaultAnswers

    Simple object to act as an 'enum' of DefaultAnswers

  18. object IdiomaticMockito extends IdiomaticMockito

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

  19. object MockitoScalaLogger extends MockitoSessionLogger
  20. object MockitoScalaSession
  21. object MockitoSugar extends MockitoSugar

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

  22. object ReturnsDeepStubs extends DecoratedAnswer
  23. object ReturnsDefaults extends DecoratedAnswer
  24. object ReturnsEmptyValues extends DefaultAnswer
  25. object ReturnsSmartNulls extends DecoratedAnswer

Inherited from AnyRef

Inherited from Any

Ungrouped