Packages

t

org.specs2.mock

MockitoMocker

trait MockitoMocker extends AnyRef

This class is created to delegates mock methods to the Mockito static methods.

See also

org.specs2.mock.Mockito

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MockitoMocker
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def answer[A](f: (InvocationOnMock) => A): Answer[A]
  5. def answer[A](a: A): Answer[A]
  6. def any[T](implicit m: ClassTag[T]): T
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  9. def doAnswer[T](a: Answer[T]): Stubber
  10. def doNothing: Stubber
  11. def doReturn[T](t: T): Stubber
  12. def doThrow[E <: Throwable](e: E): Stubber
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  17. def ignoreStubs(mocks: AnyRef*): Seq[AnyRef]
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def mock[T](settings: MockSettings)(implicit arg0: ClassTag[T]): T
  20. def mock[T](implicit arg0: ClassTag[T]): T
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  24. def spy[T](m: T): T
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def times(i: Int): Times
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. def verify[M](m: M, v: VerificationMode): M
  29. def verify[M <: AnyRef](inOrder: Option[InOrder], m: M, v: VerificationMode): M
  30. def verify(mode: VerificationMode): List[Int]
  31. def verifyNoMoreInteractions[T <: AnyRef](mocks: T*): Unit
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. def when[V](v: V): OngoingStubbing[V]

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped