package mockito
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- mockito
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
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
- trait IdiomaticMockito extends MockCreator
- class MockitoScalaSession extends AnyRef
- trait MockitoSugar extends MockitoEnhancer with DoSomething with Verifications with Rest
Value Members
- def clazz[T](implicit classTag: ClassTag[T]): Class[T]
- 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]
- 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]
- 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]
- def functionToAnswer[T, P7, P6, P5, P4, P3, P2, P1, P0](f: (P0, P1, P2, P3, P4, P5, P6, P7) ⇒ T): Answer[T]
- def functionToAnswer[T, P6, P5, P4, P3, P2, P1, P0](f: (P0, P1, P2, P3, P4, P5, P6) ⇒ T): Answer[T]
- def functionToAnswer[T, P5, P4, P3, P2, P1, P0](f: (P0, P1, P2, P3, P4, P5) ⇒ T): Answer[T]
- def functionToAnswer[T, P4, P3, P2, P1, P0](f: (P0, P1, P2, P3, P4) ⇒ T): Answer[T]
- def functionToAnswer[T, P3, P2, P1, P0](f: (P0, P1, P2, P3) ⇒ T): Answer[T]
- def functionToAnswer[T, P2, P1, P0](f: (P0, P1, P2) ⇒ T): Answer[T]
- def functionToAnswer[T, P1, P0](f: (P0, P1) ⇒ T): Answer[T]
- def functionToAnswer[T, P0](f: (P0) ⇒ T): Answer[T]
- def invocationToAnswer[T](f: (InvocationOnMock) ⇒ T): Answer[T]
-
object
ArgumentMatchersSugar extends ArgumentMatchersSugar
Simple object to allow the usage of the trait without mixing it in
-
object
IdiomaticMockito extends IdiomaticMockito
Simple object to allow the usage of the trait without mixing it in
- object MockitoScalaLogger extends MockitoSessionLogger
- object MockitoScalaSession
-
object
MockitoSugar extends MockitoSugar
Simple object to allow the usage of the trait without mixing it in