CallHandler16

eu.monniot.scala3mock.handlers.CallHandler16
class CallHandler16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R](target: FakeFunction, argumentMatcher: Product => Boolean)(implicit evidence$17: 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 = CallHandler16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, 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, v9: T9 | MatcherBase, v10: T10 | MatcherBase, v11: T11 | MatcherBase, v12: T12 | MatcherBase, v13: T13 | MatcherBase, v14: T14 | MatcherBase, v15: T15 | MatcherBase, v16: T16 | MatcherBase)

Concrete methods

def onCall(handler: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16) => R): CallHandler16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, 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