CallHandler8

eu.monniot.scala3mock.handlers.CallHandler8
class CallHandler8[T1, T2, T3, T4, T5, T6, T7, T8, R](target: FakeFunction, argumentMatcher: Product => Boolean)(implicit evidence$9: Default[R]) extends CallHandler[R]

Attributes

Graph
Supertypes
class CallHandler[R]
trait Handler
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Types

type Derived = CallHandler8[T1, T2, T3, T4, T5, T6, T7, T8, R]

Value members

Constructors

def this(target: FakeFunction, v1: T1 | MatcherBase, v2: T2 | MatcherBase, v3: T3 | MatcherBase, v4: T4 | MatcherBase, v5: T5 | MatcherBase, v6: T6 | MatcherBase, v7: T7 | MatcherBase, v8: T8 | MatcherBase)

Concrete methods

def onCall(handler: (T1, T2, T3, T4, T5, T6, T7, T8) => R): CallHandler8[T1, T2, T3, T4, T5, T6, T7, T8, R]

Inherited methods

Attributes

Inherited from:
CallHandler

Attributes

Inherited from:
CallHandler

Attributes

Inherited from:
CallHandler
def exactly(count: Int): Derived

Attributes

Inherited from:
CallHandler
def handle(call: Call): Option[Any]

Attributes

Inherited from:
CallHandler
def isExhausted: Boolean

Attributes

Inherited from:
CallHandler
def isSatisfied: Boolean

Attributes

Inherited from:
CallHandler

Attributes

Inherited from:
CallHandler

Attributes

Inherited from:
CallHandler

Attributes

Inherited from:
CallHandler
def onCall(handler: Product => R): Derived

Attributes

Inherited from:
CallHandler

Attributes

Inherited from:
CallHandler
def repeated(atLeast: Int, atMost: Int): Derived

Attributes

Inherited from:
CallHandler
def repeated(range: Range): Derived

Attributes

Inherited from:
CallHandler
def reset(): Unit

Attributes

Inherited from:
CallHandler
def returning(value: R): Derived

Attributes

Inherited from:
CallHandler
def returns(value: R): Derived

Attributes

Inherited from:
CallHandler
def throwing(e: Throwable): Derived

Attributes

Inherited from:
CallHandler
def throws(e: Throwable): Derived

Attributes

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

Attributes

Inherited from:
CallHandler
def verify(call: Call): Boolean

Attributes

Inherited from:
CallHandler

Inherited fields

var actualCalls: Int

Attributes

Inherited from:
CallHandler
var expectedCalls: Range

Attributes

Inherited from:
CallHandler
var onCallHandler: Product => R

Attributes

Inherited from:
CallHandler