CallHandler0

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

Value members

Constructors

def this(target: FakeFunction)

Concrete methods

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