MockFunction2

eu.monniot.scala3mock.functions.MockFunction2
class MockFunction2[T1, T2, R](mockContext: MockContext, name: String)(implicit evidence$3: Default[R]) extends FakeFunction2[T1, T2, R] with MockFunction

Attributes

Graph
Supertypes
class FakeFunction2[T1, T2, R]
trait (T1, T2) => R
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def expects(v1: T1 | MatcherBase, v2: T2 | MatcherBase): CallHandler2[T1, T2, R]
def expects(matcher: FunctionAdapter2[T1, T2, Boolean]): CallHandler2[Nothing, Nothing, R]

Inherited methods

def apply(v1: T1, v2: T2): R

Attributes

Inherited from:
FakeFunction2
def curried: T1 => T2 => R

Attributes

Inherited from:
Function2
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
def tupled: ((T1, T2)) => R

Attributes

Inherited from:
Function2