package mockito
- Alphabetic
- Public
- All
Type Members
- case class ArgumentExtractor(toTransform: Map[String, Set[Int]]) extends Product with Serializable
-
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
- trait ByNameExperimental extends MockCreator
-
trait
MockitoSugar extends MockitoEnhancer with DoSomething with Verifications
Trait that provides some basic syntax sugar.
Trait that provides some basic syntax sugar.
The idea is based on org.scalatest.mockito.MockitoSugar but it adds 100% of the Mockito API
It also solve problems like overloaded varargs calls to Java code and pre-stub the mocks so the default arguments in the method parameters work as expected
Value Members
-
object
ArgumentMatchersSugar extends ArgumentMatchersSugar
Simple object to allow the usage of the trait without mixing it in
-
object
MockitoSugar extends MockitoSugar
Simple object to allow the usage of the trait without mixing it in