Packages

t

org.mockito.integrations.scalatest

IdiomaticMockitoFixture

trait IdiomaticMockitoFixture extends MockitoSessionFixture with IdiomaticMockito with ArgumentMatchersSugar

It automatically wraps each test in a MockitoScalaSession so the implicit verifications are applied

Just mix-in after your favourite suite, i.e.

class MyTest extends WordSpec with IdiomaticMockitoFixture
Linear Supertypes
ArgumentMatchersSugar, FunctionMatchers, NullMatchers, StringThatMatchers, ThatMatchers, EqMatchers, AnyMatchers, IdiomaticMockito, MockCreator, MockitoSessionFixture, TestSuite, Suite, Serializable, Serializable, Assertions, TripleEquals, TripleEqualsSupport, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IdiomaticMockitoFixture
  2. ArgumentMatchersSugar
  3. FunctionMatchers
  4. NullMatchers
  5. StringThatMatchers
  6. ThatMatchers
  7. EqMatchers
  8. AnyMatchers
  9. IdiomaticMockito
  10. MockCreator
  11. MockitoSessionFixture
  12. TestSuite
  13. Suite
  14. Serializable
  15. Serializable
  16. Assertions
  17. TripleEquals
  18. TripleEqualsSupport
  19. AnyRef
  20. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class Again extends AnyRef
    Definition Classes
    IdiomaticMockito
  2. class Answered extends AnyRef
    Definition Classes
    IdiomaticMockito
  3. class AnsweredBy extends AnyRef
    Definition Classes
    IdiomaticMockito
  4. case class AtLeast(times: Int) extends Product with Serializable
    Definition Classes
    IdiomaticMockito
  5. case class AtMost(times: Int) extends Product with Serializable
    Definition Classes
    IdiomaticMockito
  6. class Called extends AnyRef
    Definition Classes
    IdiomaticMockito
  7. implicit class DoSomethingOps[R] extends AnyRef
    Definition Classes
    IdiomaticMockito
  8. class Never extends AnyRef
    Definition Classes
    IdiomaticMockito
  9. case class NeverInstance[T <: AnyRef](mock: T) extends Product with Serializable
    Definition Classes
    IdiomaticMockito
  10. class On extends AnyRef
    Definition Classes
    IdiomaticMockito
  11. implicit class OngoingStubbingOps[T] extends AnyRef
    Definition Classes
    IdiomaticMockito
  12. class OnlyOn extends AnyRef
    Definition Classes
    IdiomaticMockito
  13. class RealMethod extends AnyRef
    Definition Classes
    IdiomaticMockito
  14. class Returned extends AnyRef
    Definition Classes
    IdiomaticMockito
  15. class ReturnedBy[R] extends AnyRef
    Definition Classes
    IdiomaticMockito
  16. implicit class StubbingOps[T] extends AnyRef
    Definition Classes
    IdiomaticMockito
  17. implicit class ThrowSomethingOps[R <: Throwable] extends AnyRef
    Definition Classes
    IdiomaticMockito
  18. class Thrown extends AnyRef
    Definition Classes
    IdiomaticMockito
  19. class ThrownBy extends AnyRef
    Definition Classes
    IdiomaticMockito
  20. case class Times(times: Int) extends Product with Serializable
    Definition Classes
    IdiomaticMockito
  21. implicit class VerificationOps[T <: AnyRef] extends AnyRef
    Definition Classes
    IdiomaticMockito
  22. class AssertionsHelper extends AnyRef
    Definition Classes
    Assertions
  23. class CheckingEqualizer[L] extends AnyRef
    Definition Classes
    TripleEqualsSupport
  24. class Equalizer[L] extends AnyRef
    Definition Classes
    TripleEqualsSupport
  25. trait NoArgTest extends () ⇒ Outcome with TestData
    Attributes
    protected
    Definition Classes
    TestSuite

Value Members

  1. object InOrder
    Definition Classes
    IdiomaticMockito
  2. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  3. def !==[T](right: Spread[T]): TripleEqualsInvocationOnSpread[T]
    Definition Classes
    TripleEqualsSupport
  4. def !==(right: Null): TripleEqualsInvocation[Null]
    Definition Classes
    TripleEqualsSupport
  5. def !==[T](right: T): TripleEqualsInvocation[T]
    Definition Classes
    TripleEqualsSupport
  6. final def ##(): Int
    Definition Classes
    AnyRef → Any
  7. def *[T]: T
    Definition Classes
    IdiomaticMockito
  8. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def ===[T](right: Spread[T]): TripleEqualsInvocationOnSpread[T]
    Definition Classes
    TripleEqualsSupport
  10. def ===(right: Null): TripleEqualsInvocation[Null]
    Definition Classes
    TripleEqualsSupport
  11. def ===[T](right: T): TripleEqualsInvocation[T]
    Definition Classes
    TripleEqualsSupport
  12. val again: Again
    Definition Classes
    IdiomaticMockito
  13. val answered: Answered
    Definition Classes
    IdiomaticMockito
  14. def any[T]: T

    Delegates to ArgumentMatchers.any(), it's main purpose is to remove the () out of the method call, if you try to do that directly on the test you get this error

    Delegates to ArgumentMatchers.any(), it's main purpose is to remove the () out of the method call, if you try to do that directly on the test you get this error

    Error:(71, 46) polymorphic expression cannot be instantiated to expected type; found : [T]()T required: String when you try to something like ArgumentMatchers.any

    Definition Classes
    AnyMatchers
  15. def anyBoolean: Boolean

    Delegates to ArgumentMatchers.anyBoolean(), it's only here so we expose all the ArgumentMatchers on a single place as any[T] would do the job just fine

    Delegates to ArgumentMatchers.anyBoolean(), it's only here so we expose all the ArgumentMatchers on a single place as any[T] would do the job just fine

    Definition Classes
    AnyMatchers
  16. def anyByte: Byte

    Delegates to ArgumentMatchers.anyByte(), it's only here so we expose all the ArgumentMatchers on a single place as any[T] would do the job just fine

    Delegates to ArgumentMatchers.anyByte(), it's only here so we expose all the ArgumentMatchers on a single place as any[T] would do the job just fine

    Definition Classes
    AnyMatchers
  17. def anyChar: Char

    Delegates to ArgumentMatchers.anyChar(), it's only here so we expose all the ArgumentMatchers on a single place as any[T] would do the job just fine

    Delegates to ArgumentMatchers.anyChar(), it's only here so we expose all the ArgumentMatchers on a single place as any[T] would do the job just fine

    Definition Classes
    AnyMatchers
  18. def anyDouble: Double

    Delegates to ArgumentMatchers.anyDouble(), it's only here so we expose all the ArgumentMatchers on a single place as any[T] would do the job just fine

    Delegates to ArgumentMatchers.anyDouble(), it's only here so we expose all the ArgumentMatchers on a single place as any[T] would do the job just fine

    Definition Classes
    AnyMatchers
  19. def anyFloat: Float

    Delegates to ArgumentMatchers.anyFloat(), it's only here so we expose all the ArgumentMatchers on a single place as any[T] would do the job just fine

    Delegates to ArgumentMatchers.anyFloat(), it's only here so we expose all the ArgumentMatchers on a single place as any[T] would do the job just fine

    Definition Classes
    AnyMatchers
  20. def anyInt: Int

    Delegates to ArgumentMatchers.anyInt(), it's only here so we expose all the ArgumentMatchers on a single place as any[T] would do the job just fine

    Delegates to ArgumentMatchers.anyInt(), it's only here so we expose all the ArgumentMatchers on a single place as any[T] would do the job just fine

    Definition Classes
    AnyMatchers
  21. def anyIterable[T]: Iterable[T]

    Iterable matcher that use Scala Iterable to avoid compile errors like Error:(40, 60) type mismatch; found : Iterable[String] (in java.util) required: Iterable[?] (in scala.collection.immutable)

    Iterable matcher that use Scala Iterable to avoid compile errors like Error:(40, 60) type mismatch; found : Iterable[String] (in java.util) required: Iterable[?] (in scala.collection.immutable)

    when trying to do something like ArgumentMatchers.anyIterable[String]()

    Definition Classes
    AnyMatchers
  22. def anyList[T]: List[T]

    List matcher that use Scala List to avoid compile errors like Error:(40, 60) type mismatch; found : List[String] (in java.util) required: List[?] (in scala.collection.immutable)

    List matcher that use Scala List to avoid compile errors like Error:(40, 60) type mismatch; found : List[String] (in java.util) required: List[?] (in scala.collection.immutable)

    when trying to do something like ArgumentMatchers.anyList[String]()

    Definition Classes
    AnyMatchers
  23. def anyLong: Long

    Delegates to ArgumentMatchers.anyLong(), it's only here so we expose all the ArgumentMatchers on a single place as any[T] would do the job just fine

    Delegates to ArgumentMatchers.anyLong(), it's only here so we expose all the ArgumentMatchers on a single place as any[T] would do the job just fine

    Definition Classes
    AnyMatchers
  24. def anyMap[K, V]: Map[K, V]

    Map matcher that use Scala Map to avoid compile errors like Error:(40, 60) type mismatch; found : Map[String, String] (in java.util) required: Map[?] (in scala.collection.immutable)

    Map matcher that use Scala Map to avoid compile errors like Error:(40, 60) type mismatch; found : Map[String, String] (in java.util) required: Map[?] (in scala.collection.immutable)

    when trying to do something like ArgumentMatchers.anyMap[String, String]()

    Definition Classes
    AnyMatchers
  25. def anySeq[T]: Seq[T]

    Seq matcher that use Scala Seq to avoid compile errors like Error:(40, 60) type mismatch; found : List[String] (in java.util) required: Seq[?] (in scala.collection.immutable)

    Seq matcher that use Scala Seq to avoid compile errors like Error:(40, 60) type mismatch; found : List[String] (in java.util) required: Seq[?] (in scala.collection.immutable)

    when trying to do something like ArgumentMatchers.anyList[String]()

    Definition Classes
    AnyMatchers
  26. def anySet[T]: Set[T]

    Set matcher that use Scala Set to avoid compile errors like Error:(40, 60) type mismatch; found : Set[String] (in java.util) required: Set[?] (in scala.collection.immutable)

    Set matcher that use Scala Set to avoid compile errors like Error:(40, 60) type mismatch; found : Set[String] (in java.util) required: Set[?] (in scala.collection.immutable)

    when trying to do something like ArgumentMatchers.anySet[String]()

    Definition Classes
    AnyMatchers
  27. def anyShort: Short

    Delegates to ArgumentMatchers.anyShort(), it's only here so we expose all the ArgumentMatchers on a single place as any[T] would do the job just fine

    Delegates to ArgumentMatchers.anyShort(), it's only here so we expose all the ArgumentMatchers on a single place as any[T] would do the job just fine

    Definition Classes
    AnyMatchers
  28. def anyVal[T](implicit valueClassMatchers: ValueClassMatchers[T]): T

    Wraps the standard 'any' matcher on the value class provided, this one requires the type to be explicit

    Wraps the standard 'any' matcher on the value class provided, this one requires the type to be explicit

    Definition Classes
    AnyMatchers
  29. def argThat[T](matcher: ArgumentMatcher[T]): T

    Delegates to ArgumentMatchers.argThat(matcher), it's only here so we expose all the ArgumentMatchers on a single place

    Delegates to ArgumentMatchers.argThat(matcher), it's only here so we expose all the ArgumentMatchers on a single place

    Definition Classes
    ThatMatchers
  30. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  31. macro def assert(condition: Boolean, clue: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
    Definition Classes
    Assertions
  32. macro def assert(condition: Boolean)(implicit prettifier: Prettifier, pos: Position): Assertion
    Definition Classes
    Assertions
  33. macro def assertCompiles(code: String)(implicit pos: Position): Assertion
    Definition Classes
    Assertions
  34. macro def assertDoesNotCompile(code: String)(implicit pos: Position): Assertion
    Definition Classes
    Assertions
  35. def assertResult(expected: Any)(actual: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
    Definition Classes
    Assertions
  36. def assertResult(expected: Any, clue: Any)(actual: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
    Definition Classes
    Assertions
  37. def assertThrows[T <: AnyRef](f: ⇒ Any)(implicit classTag: ClassTag[T], pos: Position): Assertion
    Definition Classes
    Assertions
  38. macro def assertTypeError(code: String)(implicit pos: Position): Assertion
    Definition Classes
    Assertions
  39. val assertionsHelper: AssertionsHelper
    Definition Classes
    Assertions
  40. macro def assume(condition: Boolean, clue: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
    Definition Classes
    Assertions
  41. macro def assume(condition: Boolean)(implicit prettifier: Prettifier, pos: Position): Assertion
    Definition Classes
    Assertions
  42. val atLeastEightTimesOn: AtLeast
    Definition Classes
    IdiomaticMockito
  43. val atLeastFiveTimesOn: AtLeast
    Definition Classes
    IdiomaticMockito
  44. val atLeastFourTimesOn: AtLeast
    Definition Classes
    IdiomaticMockito
  45. val atLeastNineTimesOn: AtLeast
    Definition Classes
    IdiomaticMockito
  46. val atLeastOnceOn: AtLeast
    Definition Classes
    IdiomaticMockito
  47. val atLeastSevenTimesOn: AtLeast
    Definition Classes
    IdiomaticMockito
  48. val atLeastSixTimesOn: AtLeast
    Definition Classes
    IdiomaticMockito
  49. val atLeastTenTimesOn: AtLeast
    Definition Classes
    IdiomaticMockito
  50. val atLeastThreeTimesOn: AtLeast
    Definition Classes
    IdiomaticMockito
  51. val atLeastThriceOn: AtLeast
    Definition Classes
    IdiomaticMockito
  52. val atLeastTwiceOn: AtLeast
    Definition Classes
    IdiomaticMockito
  53. val atMostEightTimesOn: AtMost
    Definition Classes
    IdiomaticMockito
  54. val atMostFiveTimesOn: AtMost
    Definition Classes
    IdiomaticMockito
  55. val atMostFourTimesOn: AtMost
    Definition Classes
    IdiomaticMockito
  56. val atMostNineTimesOn: AtMost
    Definition Classes
    IdiomaticMockito
  57. val atMostOnceOn: AtMost
    Definition Classes
    IdiomaticMockito
  58. val atMostSevenTimesOn: AtMost
    Definition Classes
    IdiomaticMockito
  59. val atMostSixTimesOn: AtMost
    Definition Classes
    IdiomaticMockito
  60. val atMostTenTimesOn: AtMost
    Definition Classes
    IdiomaticMockito
  61. val atMostThreeTimesOn: AtMost
    Definition Classes
    IdiomaticMockito
  62. val atMostThriceOn: AtMost
    Definition Classes
    IdiomaticMockito
  63. val atMostTwiceOn: AtMost
    Definition Classes
    IdiomaticMockito
  64. def booleanThat(matcher: ArgumentMatcher[Boolean]): Boolean

    Delegates the call to argThat but using the Scala "primitive", this provides avoids an unnecessary implicit conversion that would be necessary if we used the Java version

    Delegates the call to argThat but using the Scala "primitive", this provides avoids an unnecessary implicit conversion that would be necessary if we used the Java version

    Definition Classes
    ThatMatchers
  65. def byteThat(matcher: ArgumentMatcher[Byte]): Byte

    Delegates the call to argThat but using the Scala "primitives", this provides avoids an unnecessary implicit conversion that would be necessary if we used the Java version

    Delegates the call to argThat but using the Scala "primitives", this provides avoids an unnecessary implicit conversion that would be necessary if we used the Java version

    Definition Classes
    ThatMatchers
  66. val called: Called
    Definition Classes
    IdiomaticMockito
  67. def cancel(cause: Throwable)(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  68. def cancel(message: String, cause: Throwable)(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  69. def cancel(message: String)(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  70. def cancel()(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  71. def charThat(matcher: ArgumentMatcher[Char]): Char

    Delegates the call to argThat but using the Scala "primitive", this provides avoids an unnecessary implicit conversion that would be necessary if we used the Java version

    Delegates the call to argThat but using the Scala "primitive", this provides avoids an unnecessary implicit conversion that would be necessary if we used the Java version

    Definition Classes
    ThatMatchers
  72. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  73. def contains(substring: String): String

    Delegates to ArgumentMatchers.contains(), it's only here so we expose all the ArgumentMatchers on a single place

    Delegates to ArgumentMatchers.contains(), it's only here so we expose all the ArgumentMatchers on a single place

    Definition Classes
    StringThatMatchers
  74. def conversionCheckedConstraint[A, B](implicit equivalenceOfA: Equivalence[A], cnv: (B) ⇒ A): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  75. def convertEquivalenceToAToBConstraint[A, B](equivalenceOfB: Equivalence[B])(implicit ev: <:<[A, B]): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  76. def convertEquivalenceToAToBConversionConstraint[A, B](equivalenceOfB: Equivalence[B])(implicit ev: (A) ⇒ B): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  77. def convertEquivalenceToBToAConstraint[A, B](equivalenceOfA: Equivalence[A])(implicit ev: <:<[B, A]): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  78. def convertEquivalenceToBToAConversionConstraint[A, B](equivalenceOfA: Equivalence[A])(implicit ev: (B) ⇒ A): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  79. def convertToCheckingEqualizer[T](left: T): CheckingEqualizer[T]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  80. implicit def convertToEqualizer[T](left: T): Equalizer[T]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  81. def defaultEquality[A]: Equality[A]
    Definition Classes
    TripleEqualsSupport
  82. def doubleThat(matcher: ArgumentMatcher[Double]): Double

    Delegates the call to argThat but using the Scala "primitive", this provides avoids an unnecessary implicit conversion that would be necessary if we used the Java version

    Delegates the call to argThat but using the Scala "primitive", this provides avoids an unnecessary implicit conversion that would be necessary if we used the Java version

    Definition Classes
    ThatMatchers
  83. val eightTimesOn: Times
    Definition Classes
    IdiomaticMockito
  84. def endsWith(suffix: String): String

    Delegates to ArgumentMatchers.endsWith(), it's only here so we expose all the ArgumentMatchers on a single place

    Delegates to ArgumentMatchers.endsWith(), it's only here so we expose all the ArgumentMatchers on a single place

    Definition Classes
    StringThatMatchers
  85. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  86. def eqTo[T](value: T): T

    Delegates to ArgumentMatchers.eq(), it renames the method to eqTo to avoid clashes with the Scala eq method used for reference equality

    Delegates to ArgumentMatchers.eq(), it renames the method to eqTo to avoid clashes with the Scala eq method used for reference equality

    Definition Classes
    EqMatchers
  87. def eqToVal[T](value: Any)(implicit valueClassMatchers: ValueClassMatchers[T]): T

    Wraps the standard 'ArgumentMatchers.eq()' matcher on the value class provided, this one requires the type to be explicit

    Wraps the standard 'ArgumentMatchers.eq()' matcher on the value class provided, this one requires the type to be explicit

    Definition Classes
    EqMatchers
  88. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  89. final def execute(testName: String, configMap: ConfigMap, color: Boolean, durations: Boolean, shortstacks: Boolean, fullstacks: Boolean, stats: Boolean): Unit
    Definition Classes
    Suite
  90. def expectedTestCount(filter: Filter): Int
    Definition Classes
    Suite
  91. def fail(cause: Throwable)(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  92. def fail(message: String, cause: Throwable)(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  93. def fail(message: String)(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  94. def fail()(implicit pos: Position): Nothing
    Definition Classes
    Assertions
  95. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  96. val fiveTimesOn: Times
    Definition Classes
    IdiomaticMockito
  97. def floatThat(matcher: ArgumentMatcher[Float]): Float

    Delegates the call to argThat but using the Scala "primitive", this provides avoids an unnecessary implicit conversion that would be necessary if we used the Java version

    Delegates the call to argThat but using the Scala "primitive", this provides avoids an unnecessary implicit conversion that would be necessary if we used the Java version

    Definition Classes
    ThatMatchers
  98. val fourTimesOn: Times
    Definition Classes
    IdiomaticMockito
  99. def function0[T](value: T): () ⇒ T
    Definition Classes
    FunctionMatchers
  100. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  101. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  102. def intThat(matcher: ArgumentMatcher[Int]): Int

    Delegates the call to argThat but using the Scala "primitive", this provides avoids an unnecessary implicit conversion that would be necessary if we used the Java version

    Delegates the call to argThat but using the Scala "primitive", this provides avoids an unnecessary implicit conversion that would be necessary if we used the Java version

    Definition Classes
    ThatMatchers
  103. def intercept[T <: AnyRef](f: ⇒ Any)(implicit classTag: ClassTag[T], pos: Position): T
    Definition Classes
    Assertions
  104. def isA[T](implicit classTag: ClassTag[T]): T

    Delegates to ArgumentMatchers.isA(type: Class[T]) It provides a nicer API as you can, for instance, do isA[String] instead of isA(classOf[String])

    Delegates to ArgumentMatchers.isA(type: Class[T]) It provides a nicer API as you can, for instance, do isA[String] instead of isA(classOf[String])

    Definition Classes
    EqMatchers
  105. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  106. def longThat(matcher: ArgumentMatcher[Long]): Long

    Delegates the call to argThat but using the Scala "primitive", this provides avoids an unnecessary conversion that would be necessary used the Java version

    Delegates the call to argThat but using the Scala "primitive", this provides avoids an unnecessary conversion that would be necessary used the Java version

    Definition Classes
    ThatMatchers
  107. def lowPriorityConversionCheckedConstraint[A, B](implicit equivalenceOfB: Equivalence[B], cnv: (A) ⇒ B): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  108. def lowPriorityTypeCheckedConstraint[A, B](implicit equivalenceOfB: Equivalence[B], ev: <:<[A, B]): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  109. def matches(regex: String): String

    Delegates to ArgumentMatchers.matches(), it's only here so we expose all the ArgumentMatchers on a single place

    Delegates to ArgumentMatchers.matches(), it's only here so we expose all the ArgumentMatchers on a single place

    Definition Classes
    StringThatMatchers
  110. def mock[T <: AnyRef](implicit arg0: ClassTag[T], arg1: scala.reflect.api.JavaUniverse.TypeTag[T], defaultAnswer: DefaultAnswer): T
    Definition Classes
    IdiomaticMockito → MockCreator
  111. def mock[T <: AnyRef](defaultAnswer: DefaultAnswer)(implicit arg0: ClassTag[T], arg1: scala.reflect.api.JavaUniverse.TypeTag[T]): T
    Definition Classes
    IdiomaticMockito → MockCreator
  112. def mock[T <: AnyRef](mockSettings: MockSettings)(implicit arg0: ClassTag[T], arg1: scala.reflect.api.JavaUniverse.TypeTag[T]): T
    Definition Classes
    IdiomaticMockito → MockCreator
  113. def mock[T <: AnyRef](name: String)(implicit arg0: ClassTag[T], arg1: scala.reflect.api.JavaUniverse.TypeTag[T], defaultAnswer: DefaultAnswer): T
    Definition Classes
    IdiomaticMockito → MockCreator
  114. def mock[T <: AnyRef](defaultAnswer: Answer[_])(implicit arg0: ClassTag[T], arg1: scala.reflect.api.JavaUniverse.TypeTag[T]): T
    Definition Classes
    MockCreator
  115. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  116. def nestedSuites: IndexedSeq[Suite]
    Definition Classes
    Suite
  117. val never: Never
    Definition Classes
    IdiomaticMockito
  118. val nineTimesOn: Times
    Definition Classes
    IdiomaticMockito
  119. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  120. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  121. val on: On
    Definition Classes
    IdiomaticMockito
  122. val onceOn: Times
    Definition Classes
    IdiomaticMockito
  123. val onlyOn: OnlyOn
    Definition Classes
    IdiomaticMockito
  124. def pending: Assertion with PendingStatement
    Definition Classes
    Assertions
  125. def pendingUntilFixed(f: ⇒ Unit)(implicit pos: Position): Assertion with PendingStatement
    Definition Classes
    Assertions
  126. def refEq[T](value: T, excludeFields: String*): T

    Delegates to ArgumentMatchers.refEq(), it's only here so we expose all the ArgumentMatchers on a single place

    Delegates to ArgumentMatchers.refEq(), it's only here so we expose all the ArgumentMatchers on a single place

    Definition Classes
    EqMatchers
  127. def rerunner: Option[String]
    Definition Classes
    Suite
  128. val returned: Returned
    Definition Classes
    IdiomaticMockito
  129. def run(testName: Option[String], args: Args): Status
    Definition Classes
    Suite
  130. def runNestedSuites(args: Args): Status
    Attributes
    protected
    Definition Classes
    Suite
  131. def runTest(testName: String, args: Args): Status
    Attributes
    protected
    Definition Classes
    TestSuite → Suite
  132. def runTests(testName: Option[String], args: Args): Status
    Attributes
    protected
    Definition Classes
    Suite
  133. def same[T](value: T): T

    Delegates to ArgumentMatchers.same(), it's only here so we expose all the ArgumentMatchers on a single place

    Delegates to ArgumentMatchers.same(), it's only here so we expose all the ArgumentMatchers on a single place

    Definition Classes
    EqMatchers
  134. val sevenTimesOn: Times
    Definition Classes
    IdiomaticMockito
  135. def shortThat(matcher: ArgumentMatcher[Short]): Short

    Delegates the call to argThat but using the Scala "primitive", this provides avoids an unnecessary implicit conversion that would be necessary if we used the Java version

    Delegates the call to argThat but using the Scala "primitive", this provides avoids an unnecessary implicit conversion that would be necessary if we used the Java version

    Definition Classes
    ThatMatchers
  136. val sixTimesOn: Times
    Definition Classes
    IdiomaticMockito
  137. def spy[T](realObj: T): T
    Definition Classes
    IdiomaticMockito → MockCreator
  138. def spyLambda[T <: AnyRef](realObj: T)(implicit arg0: ClassTag[T]): T
    Definition Classes
    IdiomaticMockito → MockCreator
  139. def startsWith(prefix: String): String

    Delegates to ArgumentMatchers.startsWith(), it's only here so we expose all the ArgumentMatchers on a single place

    Delegates to ArgumentMatchers.startsWith(), it's only here so we expose all the ArgumentMatchers on a single place

    Definition Classes
    StringThatMatchers
  140. val styleName: String
    Definition Classes
    Suite
  141. final val succeed: Assertion
    Definition Classes
    Assertions
  142. def suiteId: String
    Definition Classes
    Suite
  143. def suiteName: String
    Definition Classes
    Suite
  144. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  145. def tags: Map[String, Set[String]]
    Definition Classes
    Suite
  146. val tenTimesOn: Times
    Definition Classes
    IdiomaticMockito
  147. def testDataFor(testName: String, theConfigMap: ConfigMap): TestData
    Definition Classes
    Suite
  148. def testNames: Set[String]
    Definition Classes
    Suite
  149. val theRealMethod: RealMethod
    Definition Classes
    IdiomaticMockito
  150. val threeTimesOn: Times
    Definition Classes
    IdiomaticMockito
  151. val thriceOn: Times
    Definition Classes
    IdiomaticMockito
  152. val thrown: Thrown
    Definition Classes
    IdiomaticMockito
  153. def toString(): String
    Definition Classes
    AnyRef → Any
  154. val twiceOn: Times
    Definition Classes
    IdiomaticMockito
  155. def typeCheckedConstraint[A, B](implicit equivalenceOfA: Equivalence[A], ev: <:<[B, A]): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  156. implicit def unconstrainedEquality[A, B](implicit equalityOfA: Equality[A]): CanEqual[A, B]
    Definition Classes
    TripleEquals → TripleEqualsSupport
  157. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  158. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  159. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  160. def withClue[T](clue: Any)(fun: ⇒ T): T
    Definition Classes
    Assertions
  161. def withFixture(test: NoArgTest): Outcome
    Definition Classes
    MockitoSessionFixture → TestSuite
  162. def withSettings(implicit defaultAnswer: DefaultAnswer): MockSettings

    Delegates to Mockito.withSettings(), it's only here to expose the full Mockito API

    Delegates to Mockito.withSettings(), it's only here to expose the full Mockito API

    Definition Classes
    MockCreator

Deprecated Value Members

  1. final def execute: Unit
    Definition Classes
    Suite
    Annotations
    @deprecated
    Deprecated

    The parameterless execute method has been deprecated and will be removed in a future version of ScalaTest. Please invoke execute with empty parens instead: execute().

  2. def isNotNull[T]: T

    Delegates to ArgumentMatchers.isNotNull(), it's only here so we expose all the ArgumentMatchers on a single place, but marked as @deprecated as you shouldn't be testing for nulls on Scala

    Delegates to ArgumentMatchers.isNotNull(), it's only here so we expose all the ArgumentMatchers on a single place, but marked as @deprecated as you shouldn't be testing for nulls on Scala

    Definition Classes
    NullMatchers
    Annotations
    @deprecated
    Deprecated
  3. def isNull[T]: T

    Delegates to ArgumentMatchers.isNull(), it's only here so we expose all the ArgumentMatchers on a single place, but marked as @deprecated as you shouldn't be testing for nulls on Scala

    Delegates to ArgumentMatchers.isNull(), it's only here so we expose all the ArgumentMatchers on a single place, but marked as @deprecated as you shouldn't be testing for nulls on Scala

    Definition Classes
    NullMatchers
    Annotations
    @deprecated
    Deprecated
  4. def trap[T](f: ⇒ T): Throwable
    Definition Classes
    Assertions
    Annotations
    @deprecated
    Deprecated

    The trap method is no longer needed for demos in the REPL, which now abreviates stack traces, and will be removed in a future version of ScalaTest

Inherited from ArgumentMatchersSugar

Inherited from FunctionMatchers

Inherited from NullMatchers

Inherited from StringThatMatchers

Inherited from ThatMatchers

Inherited from EqMatchers

Inherited from AnyMatchers

Inherited from IdiomaticMockito

Inherited from MockCreator

Inherited from MockitoSessionFixture

Inherited from TestSuite

Inherited from Suite

Inherited from Serializable

Inherited from Serializable

Inherited from Assertions

Inherited from TripleEquals

Inherited from TripleEqualsSupport

Inherited from AnyRef

Inherited from Any

Ungrouped