CallHandler1

eu.monniot.scala3mock.handlers.CallHandler1
class CallHandler1[T1, R](target: FakeFunction, argumentMatcher: Product => Boolean)(implicit evidence$2: 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 = CallHandler1[T1, R]

Value members

Constructors

def this(target: FakeFunction, v1: T1 | MatcherBase)

Concrete methods

def onCall(handler: T1 => R): CallHandler1[T1, 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

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