MockFunction0

eu.monniot.scala3mock.functions.MockFunction0
class MockFunction0[R](mockContext: MockContext, name: String)(implicit evidence$1: Default[R]) extends FakeFunction0[R] with MockFunction

Attributes

Graph
Supertypes
class FakeFunction0[R]
trait () => R
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def expects(matcher: FunctionAdapter0[Boolean]): CallHandler0[R]

Inherited methods

def apply(): R

Attributes

Inherited from:
FakeFunction0
def handle(arguments: Product): Any

Attributes

Inherited from:
FakeFunction
protected def onUnexpected(call: Call): Any

Attributes

Inherited from:
MockFunction
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Inherited from:
FakeFunction