Packages

c

org.scalamock.function

MockFunction0

class MockFunction0[R] extends FakeFunction0[R] with MockFunction

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MockFunction0
  2. MockFunction
  3. FakeFunction0
  4. NiceToString
  5. Function0
  6. FakeFunction
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MockFunction0(mockContext: MockContext, name: Symbol)(implicit arg0: Defaultable[R])

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 apply(): R
    Definition Classes
    FakeFunction0 → Function0
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def expects(matcher: FunctionAdapter0[Boolean]): CallHandler0[R]
  10. def expects(): CallHandler0[R]
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def handle(arguments: Product): Any
    Definition Classes
    FakeFunction
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. val mockContext: MockContext
    Attributes
    protected
    Definition Classes
    FakeFunction
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def onUnexpected(call: Call): Nothing
    Attributes
    protected
    Definition Classes
    MockFunction
  20. def stubs(matcher: FunctionAdapter0[Boolean]): CallHandler0[R]
  21. def stubs(): CallHandler0[R]
  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    NiceToString → AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

    (Since version ) see corresponding Javadoc for more information.

Inherited from MockFunction

Inherited from FakeFunction0[R]

Inherited from NiceToString

Inherited from () ⇒ R

Inherited from FakeFunction

Inherited from AnyRef

Inherited from Any

Ungrouped