Package

org

mockito

Permalink

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

    Permalink

    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

    Permalink
  3. trait DefaultAnswer extends Answer[Any] with Function[InvocationOnMock, Option[Any]]

    Permalink
  4. trait IdiomaticMockito extends MockCreator

    Permalink
  5. class MockitoScalaSession extends AnyRef

    Permalink
  6. trait MockitoSugar extends MockitoEnhancer with DoSomething with Verifications with Rest

    Permalink

Value Members

  1. object ArgumentMatchersSugar extends ArgumentMatchersSugar

    Permalink

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

  2. object CallsRealMethods extends DecoratedAnswer

    Permalink
  3. object DefaultAnswer

    Permalink
  4. object DefaultAnswers

    Permalink

    Simple object to act as an 'enum' of DefaultAnswers

  5. object IdiomaticMockito extends IdiomaticMockito

    Permalink

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

  6. object MockitoScalaLogger extends MockitoSessionLogger

    Permalink
  7. object MockitoScalaSession

    Permalink
  8. object MockitoSugar extends MockitoSugar

    Permalink

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

  9. object ReturnsDeepStubs extends DecoratedAnswer

    Permalink
  10. object ReturnsDefaults extends DecoratedAnswer

    Permalink
  11. object ReturnsEmptyValues extends DefaultAnswer

    Permalink
  12. object ReturnsSmartNulls extends DecoratedAnswer

    Permalink
  13. package captor

    Permalink
  14. def clazz[T <: AnyRef](implicit classTag: ClassTag[T]): Class[T]

    Permalink
  15. package exceptions

    Permalink
  16. 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]

    Permalink
  17. 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]

    Permalink
  18. 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]

    Permalink
  19. def functionToAnswer[T, P7, P6, P5, P4, P3, P2, P1, P0](f: (P0, P1, P2, P3, P4, P5, P6, P7) ⇒ T): Answer[T]

    Permalink
  20. def functionToAnswer[T, P6, P5, P4, P3, P2, P1, P0](f: (P0, P1, P2, P3, P4, P5, P6) ⇒ T): Answer[T]

    Permalink
  21. def functionToAnswer[T, P5, P4, P3, P2, P1, P0](f: (P0, P1, P2, P3, P4, P5) ⇒ T): Answer[T]

    Permalink
  22. def functionToAnswer[T, P4, P3, P2, P1, P0](f: (P0, P1, P2, P3, P4) ⇒ T): Answer[T]

    Permalink
  23. def functionToAnswer[T, P3, P2, P1, P0](f: (P0, P1, P2, P3) ⇒ T): Answer[T]

    Permalink
  24. def functionToAnswer[T, P2, P1, P0](f: (P0, P1, P2) ⇒ T): Answer[T]

    Permalink
  25. def functionToAnswer[T, P1, P0](f: (P0, P1) ⇒ T): Answer[T]

    Permalink
  26. def functionToAnswer[T, P0](f: (P0) ⇒ T): Answer[T]

    Permalink
  27. package integrations

    Permalink
  28. package internal

    Permalink
  29. def invocationToAnswer[T](f: (InvocationOnMock) ⇒ T): Answer[T]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped