Proxy

interface Proxy<ReturnValue, Arguments>

Base Proxy definition

Author

Matthias Geisler

Parameters

ReturnValue

the return value of the Proxy.

Arguments

the arguments which are delegated to the Proxy.

Functions

clear
Link copied to clipboard
common
abstract fun clear()
Clears the Proxies captured arguments
get
Link copied to clipboard
common
abstract operator fun get(callIndex: Int): Arguments
Alias for getArgumentsForCall
getArgumentsForCall
Link copied to clipboard
common
abstract fun getArgumentsForCall(callIndex: Int): Arguments
Resolves given arguments of an invocation.

Properties

calls
Link copied to clipboard
common
abstract val calls: Int
Counter of the actual invocations of the Proxy.
frozen
Link copied to clipboard
common
abstract val frozen: Boolean
Indicates that the proxies uses the frozen memory model.
id
Link copied to clipboard
common
abstract val id: String
Unique Id of the Proxy derived from the Interface which it build upon.

Inheritors

KMockContract
Link copied to clipboard
KMockContract
Link copied to clipboard