Trait

org.mockito.integrations.scalatest

MockitoFixture

Related Doc: package scalatest

Permalink

trait MockitoFixture extends MockitoSessionFixture with MockitoSugar 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 MockitoFixture
Annotations
@deprecated
Deprecated

(Since version 1.3.0) Please use org.mockito.scalatest.MockitoSugar or org.mockito.scalatest.AsyncMockitoSugar from the mockito-scala-scalatest module

Linear Supertypes
ArgumentMatchersSugar, MacroBasedMatchers, NumericMatchers, Tolerance, FunctionMatchers, NullMatchers, StringThatMatchers, ThatMatchers, EqMatchers_VersionSpecific, EqMatchers, AnyMatchers, MockitoSugar, Rest, Verifications, DoSomething, MockitoEnhancer, MockCreator, MockitoSessionFixture, TestSuite, Suite, Serializable, Serializable, Assertions, TripleEquals, TripleEqualsSupport, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MockitoFixture
  2. ArgumentMatchersSugar
  3. MacroBasedMatchers
  4. NumericMatchers
  5. Tolerance
  6. FunctionMatchers
  7. NullMatchers
  8. StringThatMatchers
  9. ThatMatchers
  10. EqMatchers_VersionSpecific
  11. EqMatchers
  12. AnyMatchers
  13. MockitoSugar
  14. Rest
  15. Verifications
  16. DoSomething
  17. MockitoEnhancer
  18. MockCreator
  19. MockitoSessionFixture
  20. TestSuite
  21. Suite
  22. Serializable
  23. Serializable
  24. Assertions
  25. TripleEquals
  26. TripleEqualsSupport
  27. AnyRef
  28. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class AssertionsHelper extends AnyRef

    Permalink
    Definition Classes
    Assertions
  2. class CheckingEqualizer[L] extends AnyRef

    Permalink
    Definition Classes
    TripleEqualsSupport
  3. class Equalizer[L] extends AnyRef

    Permalink
    Definition Classes
    TripleEqualsSupport
  4. trait NoArgTest extends () ⇒ Outcome with TestData

    Permalink
    Attributes
    protected
    Definition Classes
    TestSuite
  5. final class PlusOrMinusWrapper[T] extends AnyRef

    Permalink
    Definition Classes
    Tolerance

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. def !==[T](right: Spread[T]): TripleEqualsInvocationOnSpread[T]

    Permalink
    Definition Classes
    TripleEqualsSupport
  3. def !==(right: Null): TripleEqualsInvocation[Null]

    Permalink
    Definition Classes
    TripleEqualsSupport
  4. def !==[T](right: T): TripleEqualsInvocation[T]

    Permalink
    Definition Classes
    TripleEqualsSupport
  5. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  6. def *[T](implicit arg0: AnyMatcher[T]): T

    Permalink

    Alias for org.mockito.matchers.MacroBasedMatchers.any

  7. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def ===[T](right: Spread[T]): TripleEqualsInvocationOnSpread[T]

    Permalink
    Definition Classes
    TripleEqualsSupport
  9. def ===(right: Null): TripleEqualsInvocation[Null]

    Permalink
    Definition Classes
    TripleEqualsSupport
  10. def ===[T](right: T): TripleEqualsInvocation[T]

    Permalink
    Definition Classes
    TripleEqualsSupport
  11. def any[T](implicit arg0: AnyMatcher[T]): T

    Permalink

    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

    It also fixes the NullPointerException when used on an value class argument (IMPORTANT: YOU MUST PROVIDE THE TYPE FOR VALUE CLASSES)

    Definition Classes
    MacroBasedMatchers
  12. def anyBoolean: Boolean

    Permalink
    Definition Classes
    AnyMatchers
  13. def anyByte: Byte

    Permalink
    Definition Classes
    AnyMatchers
  14. def anyChar: Char

    Permalink
    Definition Classes
    AnyMatchers
  15. def anyDouble: Double

    Permalink
    Definition Classes
    AnyMatchers
  16. def anyFloat: Float

    Permalink
    Definition Classes
    AnyMatchers
  17. def anyInt: Int

    Permalink
    Definition Classes
    AnyMatchers
  18. def anyIterable[T]: Iterable[T]

    Permalink
    Definition Classes
    AnyMatchers
  19. def anyList[T]: List[T]

    Permalink
    Definition Classes
    AnyMatchers
  20. def anyLong: Long

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

    Permalink
    Definition Classes
    AnyMatchers
  22. def anySeq[T]: Seq[T]

    Permalink
    Definition Classes
    AnyMatchers
  23. def anySet[T]: Set[T]

    Permalink
    Definition Classes
    AnyMatchers
  24. def anyShort: Short

    Permalink
    Definition Classes
    AnyMatchers
  25. def argMatching[T](pf: PartialFunction[Any, Unit]): T

    Permalink
    Definition Classes
    ThatMatchers
  26. def argThat[T](f: (T) ⇒ Boolean, desc: ⇒ String): T

    Permalink
    Definition Classes
    ThatMatchers
  27. def argThat[T](matcher: ArgumentMatcher[T]): T

    Permalink
    Definition Classes
    ThatMatchers
  28. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  29. macro def assert(condition: Boolean, clue: Any)(implicit prettifier: Prettifier, pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  30. macro def assert(condition: Boolean)(implicit prettifier: Prettifier, pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  31. macro def assertCompiles(code: String)(implicit pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  32. macro def assertDoesNotCompile(code: String)(implicit pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  33. def assertResult(expected: Any)(actual: Any)(implicit prettifier: Prettifier, pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  34. def assertResult(expected: Any, clue: Any)(actual: Any)(implicit prettifier: Prettifier, pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  35. def assertThrows[T <: AnyRef](f: ⇒ Any)(implicit classTag: ClassTag[T], pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  36. macro def assertTypeError(code: String)(implicit pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  37. val assertionsHelper: AssertionsHelper

    Permalink
    Definition Classes
    Assertions
  38. macro def assume(condition: Boolean, clue: Any)(implicit prettifier: Prettifier, pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  39. macro def assume(condition: Boolean)(implicit prettifier: Prettifier, pos: Position): Assertion

    Permalink
    Definition Classes
    Assertions
  40. def atLeast(minNumberOfInvocations: Int): VerificationMode

    Permalink
    Definition Classes
    Verifications
  41. def atLeastOnce: VerificationMode

    Permalink
    Definition Classes
    Verifications
  42. def atMost(maxNumberOfInvocations: Int): VerificationMode

    Permalink
    Definition Classes
    Verifications
  43. def booleanThat(matcher: ArgumentMatcher[Boolean]): Boolean

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

    Permalink
    Definition Classes
    ThatMatchers
  45. def calls(wantedNumberOfInvocations: Int): VerificationMode

    Permalink
    Definition Classes
    Verifications
  46. def cancel(cause: Throwable)(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  47. def cancel(message: String, cause: Throwable)(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  48. def cancel(message: String)(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  49. def cancel()(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  50. def charThat(matcher: ArgumentMatcher[Char]): Char

    Permalink
    Definition Classes
    ThatMatchers
  51. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. def contains(substring: String): String

    Permalink
    Definition Classes
    StringThatMatchers
  53. def conversionCheckedConstraint[A, B](implicit equivalenceOfA: Equivalence[A], cnv: (B) ⇒ A): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  54. def convertEquivalenceToAToBConstraint[A, B](equivalenceOfB: Equivalence[B])(implicit ev: <:<[A, B]): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  55. def convertEquivalenceToAToBConversionConstraint[A, B](equivalenceOfB: Equivalence[B])(implicit ev: (A) ⇒ B): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  56. def convertEquivalenceToBToAConstraint[A, B](equivalenceOfA: Equivalence[A])(implicit ev: <:<[B, A]): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  57. def convertEquivalenceToBToAConversionConstraint[A, B](equivalenceOfA: Equivalence[A])(implicit ev: (B) ⇒ A): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  58. implicit def convertNumericToPlusOrMinusWrapper[T](pivot: T)(implicit arg0: Numeric[T]): PlusOrMinusWrapper[T]

    Permalink
    Definition Classes
    Tolerance
  59. def convertToCheckingEqualizer[T](left: T): CheckingEqualizer[T]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  60. implicit def convertToEqualizer[T](left: T): Equalizer[T]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  61. def defaultEquality[A]: Equality[A]

    Permalink
    Definition Classes
    TripleEqualsSupport
  62. def doAnswer[P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, R](f: (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10) ⇒ R)(implicit arg0: ValueClassExtractor[R]): Stubber

    Permalink
    Definition Classes
    DoSomething
  63. def doAnswer[P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, R](f: (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9) ⇒ R)(implicit arg0: ValueClassExtractor[R]): Stubber

    Permalink
    Definition Classes
    DoSomething
  64. def doAnswer[P0, P1, P2, P3, P4, P5, P6, P7, P8, R](f: (P0, P1, P2, P3, P4, P5, P6, P7, P8) ⇒ R)(implicit arg0: ValueClassExtractor[R]): Stubber

    Permalink
    Definition Classes
    DoSomething
  65. def doAnswer[P0, P1, P2, P3, P4, P5, P6, P7, R](f: (P0, P1, P2, P3, P4, P5, P6, P7) ⇒ R)(implicit arg0: ValueClassExtractor[R]): Stubber

    Permalink
    Definition Classes
    DoSomething
  66. def doAnswer[P0, P1, P2, P3, P4, P5, P6, R](f: (P0, P1, P2, P3, P4, P5, P6) ⇒ R)(implicit arg0: ValueClassExtractor[R]): Stubber

    Permalink
    Definition Classes
    DoSomething
  67. def doAnswer[P0, P1, P2, P3, P4, P5, R](f: (P0, P1, P2, P3, P4, P5) ⇒ R)(implicit arg0: ValueClassExtractor[R]): Stubber

    Permalink
    Definition Classes
    DoSomething
  68. def doAnswer[P0, P1, P2, P3, P4, R](f: (P0, P1, P2, P3, P4) ⇒ R)(implicit arg0: ValueClassExtractor[R]): Stubber

    Permalink
    Definition Classes
    DoSomething
  69. def doAnswer[P0, P1, P2, P3, R](f: (P0, P1, P2, P3) ⇒ R)(implicit arg0: ValueClassExtractor[R]): Stubber

    Permalink
    Definition Classes
    DoSomething
  70. def doAnswer[P0, P1, P2, R](f: (P0, P1, P2) ⇒ R)(implicit arg0: ValueClassExtractor[R]): Stubber

    Permalink
    Definition Classes
    DoSomething
  71. def doAnswer[P0, P1, R](f: (P0, P1) ⇒ R)(implicit arg0: ValueClassExtractor[R]): Stubber

    Permalink
    Definition Classes
    DoSomething
  72. def doAnswer[P0, R](f: (P0) ⇒ R)(implicit arg0: ClassTag[P0], arg1: ValueClassExtractor[R]): Stubber

    Permalink
    Definition Classes
    DoSomething
  73. def doAnswer[R](l: ⇒ R)(implicit arg0: ValueClassExtractor[R]): Stubber

    Permalink
    Definition Classes
    DoSomething
  74. def doCallRealMethod: Stubber

    Permalink
    Definition Classes
    DoSomething
  75. def doNothing: Stubber

    Permalink
    Definition Classes
    DoSomething
  76. def doReturn[T](toBeReturned: T, toBeReturnedNext: T*)(implicit arg0: ValueClassExtractor[T]): Stubber

    Permalink
    Definition Classes
    DoSomething
  77. def doThrow[T <: Throwable](implicit arg0: ClassTag[T]): Stubber

    Permalink
    Definition Classes
    DoSomething
  78. def doThrow(toBeThrown: Throwable*): Stubber

    Permalink
    Definition Classes
    DoSomething
  79. def doubleThat(matcher: ArgumentMatcher[Double]): Double

    Permalink
    Definition Classes
    ThatMatchers
  80. def endsWith(suffix: String): String

    Permalink
    Definition Classes
    StringThatMatchers
  81. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  82. macro def eqTo[T](value: T): T

    Permalink

    Creates a matcher that delegates on {{org.scalactic.Equality}} so you can always customise how the values are compared Also works with value classes

    Creates a matcher that delegates on {{org.scalactic.Equality}} so you can always customise how the values are compared Also works with value classes

    Definition Classes
    EqMatchers_VersionSpecific
  83. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  84. final def execute(testName: String, configMap: ConfigMap, color: Boolean, durations: Boolean, shortstacks: Boolean, fullstacks: Boolean, stats: Boolean): Unit

    Permalink
    Definition Classes
    Suite
  85. def expectedTestCount(filter: Filter): Int

    Permalink
    Definition Classes
    Suite
  86. def fail(cause: Throwable)(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  87. def fail(message: String, cause: Throwable)(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  88. def fail(message: String)(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  89. def fail()(implicit pos: Position): Nothing

    Permalink
    Definition Classes
    Assertions
  90. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  91. def floatThat(matcher: ArgumentMatcher[Float]): Float

    Permalink
    Definition Classes
    ThatMatchers
  92. def function0[T](value: T): () ⇒ T

    Permalink
    Definition Classes
    FunctionMatchers
  93. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  94. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  95. def ignoreStubs(mocks: AnyRef*): Array[AnyRef]

    Permalink
    Definition Classes
    MockitoEnhancer
  96. def inOrder(mocks: AnyRef*): InOrder

    Permalink
    Definition Classes
    Rest
  97. def intThat(matcher: ArgumentMatcher[Int]): Int

    Permalink
    Definition Classes
    ThatMatchers
  98. def intercept[T <: AnyRef](f: ⇒ Any)(implicit classTag: ClassTag[T], pos: Position): T

    Permalink
    Definition Classes
    Assertions
  99. def isA[T](implicit arg0: ClassTag[T]): T

    Permalink
    Definition Classes
    EqMatchers
  100. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  101. def longThat(matcher: ArgumentMatcher[Long]): Long

    Permalink
    Definition Classes
    ThatMatchers
  102. def lowPriorityConversionCheckedConstraint[A, B](implicit equivalenceOfB: Equivalence[B], cnv: (A) ⇒ B): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  103. def lowPriorityTypeCheckedConstraint[A, B](implicit equivalenceOfB: Equivalence[B], ev: <:<[A, B]): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  104. def matches(regex: String): String

    Permalink
    Definition Classes
    StringThatMatchers
  105. def mock[T <: AnyRef](name: String)(implicit arg0: ClassTag[T], arg1: scala.reflect.api.JavaUniverse.WeakTypeTag[T], defaultAnswer: DefaultAnswer, arg3: Prettifier): T

    Permalink
    Definition Classes
    MockitoEnhancer → MockCreator
  106. def mock[T <: AnyRef](mockSettings: MockSettings)(implicit arg0: ClassTag[T], arg1: scala.reflect.api.JavaUniverse.WeakTypeTag[T], arg2: Prettifier): T

    Permalink
    Definition Classes
    MockitoEnhancer → MockCreator
  107. def mock[T <: AnyRef](defaultAnswer: DefaultAnswer)(implicit arg0: ClassTag[T], arg1: scala.reflect.api.JavaUniverse.WeakTypeTag[T], arg2: Prettifier): T

    Permalink
    Definition Classes
    MockitoEnhancer → MockCreator
  108. def mock[T <: AnyRef](implicit arg0: ClassTag[T], arg1: scala.reflect.api.JavaUniverse.WeakTypeTag[T], defaultAnswer: DefaultAnswer, arg3: Prettifier): T

    Permalink
    Definition Classes
    MockitoEnhancer → MockCreator
  109. def mock[T <: AnyRef](defaultAnswer: Answer[_])(implicit arg0: ClassTag[T], arg1: scala.reflect.api.JavaUniverse.WeakTypeTag[T], arg2: Prettifier): T

    Permalink
    Definition Classes
    MockCreator
  110. def mockingDetails(toInspect: AnyRef): MockingDetails

    Permalink
    Definition Classes
    MockitoEnhancer
  111. val n: N

    Permalink
    Definition Classes
    NumericMatchers
  112. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  113. def nestedSuites: IndexedSeq[Suite]

    Permalink
    Definition Classes
    Suite
  114. def never: VerificationMode

    Permalink
    Definition Classes
    Verifications
  115. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  116. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  117. def only: VerificationMode

    Permalink
    Definition Classes
    Verifications
  118. def pending: Assertion with PendingStatement

    Permalink
    Definition Classes
    Assertions
  119. def pendingUntilFixed(f: ⇒ Unit)(implicit pos: Position): Assertion with PendingStatement

    Permalink
    Definition Classes
    Assertions
  120. def refEq[T](value: T, excludeFields: String*): T

    Permalink
    Definition Classes
    EqMatchers
  121. def rerunner: Option[String]

    Permalink
    Definition Classes
    Suite
  122. def reset(mocks: AnyRef*)(implicit arg0: Prettifier): Unit

    Permalink
    Definition Classes
    MockitoEnhancer
  123. def run(testName: Option[String], args: Args): Status

    Permalink
    Definition Classes
    Suite
  124. def runNestedSuites(args: Args): Status

    Permalink
    Attributes
    protected
    Definition Classes
    Suite
  125. def runTest(testName: String, args: Args): Status

    Permalink
    Attributes
    protected
    Definition Classes
    TestSuite → Suite
  126. def runTests(testName: Option[String], args: Args): Status

    Permalink
    Attributes
    protected
    Definition Classes
    Suite
  127. def same[T](value: T): T

    Permalink
    Definition Classes
    EqMatchers
  128. def shortThat(matcher: ArgumentMatcher[Short]): Short

    Permalink
    Definition Classes
    ThatMatchers
  129. def spy[T <: AnyRef](realObj: T, lenient: Boolean)(implicit arg0: ClassTag[T], arg1: scala.reflect.api.JavaUniverse.WeakTypeTag[T], arg2: Prettifier): T

    Permalink
    Definition Classes
    MockitoEnhancer → MockCreator
  130. def spyLambda[T <: AnyRef](realObj: T)(implicit arg0: ClassTag[T]): T

    Permalink
    Definition Classes
    MockitoEnhancer → MockCreator
  131. def startsWith(prefix: String): String

    Permalink
    Definition Classes
    StringThatMatchers
  132. val styleName: String

    Permalink
    Definition Classes
    Suite
  133. final val succeed: Assertion

    Permalink
    Definition Classes
    Assertions
  134. def suiteId: String

    Permalink
    Definition Classes
    Suite
  135. def suiteName: String

    Permalink
    Definition Classes
    Suite
  136. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  137. def tags: Map[String, Set[String]]

    Permalink
    Definition Classes
    Suite
  138. def testDataFor(testName: String, theConfigMap: ConfigMap): TestData

    Permalink
    Definition Classes
    Suite
  139. def testNames: Set[String]

    Permalink
    Definition Classes
    Suite
  140. def timeout(millis: Int): VerificationWithTimeout

    Permalink
    Definition Classes
    Verifications
  141. def times(wantedNumberOfInvocations: Int): VerificationMode

    Permalink
    Definition Classes
    Verifications
  142. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  143. def typeCheckedConstraint[A, B](implicit equivalenceOfA: Equivalence[A], ev: <:<[B, A]): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  144. implicit def unconstrainedEquality[A, B](implicit equalityOfA: Equality[A]): CanEqual[A, B]

    Permalink
    Definition Classes
    TripleEquals → TripleEqualsSupport
  145. def validateMockitoUsage(): Unit

    Permalink
    Definition Classes
    Rest
  146. def verify[T](mock: T, mode: VerificationMode): T

    Permalink
    Definition Classes
    Rest
  147. def verify[T](mock: T): T

    Permalink
    Definition Classes
    Rest
  148. def verifyNoMoreInteractions(mocks: AnyRef*): Unit

    Permalink
    Definition Classes
    MockitoEnhancer
  149. def verifyZeroInteractions(mocks: AnyRef*): Unit

    Permalink
    Definition Classes
    Rest
  150. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  151. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  152. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  153. def when[T](methodCall: T)(implicit arg0: ValueClassExtractor[T]): ScalaFirstStubbing[T]

    Permalink
    Definition Classes
    Rest
  154. def withClue[T](clue: Any)(fun: ⇒ T): T

    Permalink
    Definition Classes
    Assertions
  155. def withFixture(test: NoArgTest): Outcome

    Permalink
    Definition Classes
    MockitoSessionFixture → TestSuite
  156. def withSettings(implicit defaultAnswer: DefaultAnswer): MockSettings

    Permalink
    Definition Classes
    MockCreator

Deprecated Value Members

  1. def anyVal[T](implicit arg0: AnyMatcher[T]): T

    Permalink

    It was intended to be used instead of any when the argument is a value class, but any now supports value classes so it is not needed anymore

    It was intended to be used instead of any when the argument is a value class, but any now supports value classes so it is not needed anymore

    Definition Classes
    MacroBasedMatchers
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.2) Use 'any[T]' or '*[T]' instead

  2. macro def eqToVal[T](value: T): T

    Permalink

    It was intended to be used instead of eqTo when the argument is a value class, but eqTo now supports value classes so it is not needed anymore

    It was intended to be used instead of eqTo when the argument is a value class, but eqTo now supports value classes so it is not needed anymore

    Definition Classes
    EqMatchers_VersionSpecific
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.2) Use 'eqTo' instead

  3. final def execute: Unit

    Permalink
    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().

  4. def isNotNull[T]: T

    Permalink
    Definition Classes
    NullMatchers
    Annotations
    @deprecated
    Deprecated

    (Since version 0.0.0) Using nulls in Scala? you naughty, naughty developer...

  5. def isNull[T]: T

    Permalink
    Definition Classes
    NullMatchers
    Annotations
    @deprecated
    Deprecated

    (Since version 0.0.0) Using nulls in Scala? you naughty, naughty developer...

  6. def trap[T](f: ⇒ T): Throwable

    Permalink
    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 MacroBasedMatchers

Inherited from NumericMatchers

Inherited from Tolerance

Inherited from FunctionMatchers

Inherited from NullMatchers

Inherited from StringThatMatchers

Inherited from ThatMatchers

Inherited from EqMatchers

Inherited from AnyMatchers

Inherited from MockitoSugar

Inherited from Rest

Inherited from Verifications

Inherited from DoSomething

Inherited from MockitoEnhancer

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