MockFunction1

eu.monniot.scala3mock.functions.MockFunction1
class MockFunction1[T1, R](mockContext: MockContext, name: String)(implicit evidence$2: Default[R]) extends FakeFunction1[T1, R] with MockFunction

Attributes

Graph
Supertypes
class FakeFunction1[T1, R]
trait T1 => R
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def expects(v1: T1 | MatcherBase): CallHandler1[T1, R]
def expects(matcher: FunctionAdapter1[T1, Boolean]): CallHandler1[T1, R]

Inherited methods

def andThen[A](g: R => A): T1 => A

Attributes

Inherited from:
Function1
def apply(v1: T1): R

Attributes

Inherited from:
FakeFunction1
def compose[A](g: A => T1): A => R

Attributes

Inherited from:
Function1
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