Fun Proxy
interface FunProxy<ReturnValue, SideEffect : Function<ReturnValue>> : KMockContract.Proxy<ReturnValue, Array<out Any?>> , KMockContract.ProxyReturnValueSetter<ReturnValue> , KMockContract.ProxySideEffectBuilder<ReturnValue, SideEffect>
Content copied to clipboard
Shared Properties of synchronous and asynchronous functions Proxies.
Author
Matthias Geisler
Parameters
ReturnValue
the return value of the Function.
SideEffect
the function signature.
Functions
getArgumentsForCall
Link copied to clipboard
returns
Link copied to clipboard
returnsMany
Link copied to clipboard
run
Link copied to clipboard
runs
Link copied to clipboard
abstract infix fun runs(action: SideEffect): KMockContract.ProxySideEffectBuilder<ReturnValue, SideEffect>
Content copied to clipboard
throwsMany
Link copied to clipboard
Properties
ignorableForVerification
Link copied to clipboard
returnValue
Link copied to clipboard
returnValues
Link copied to clipboard
sideEffect
Link copied to clipboard
sideEffects
Link copied to clipboard
abstract val sideEffects: KMockContract.SideEffectChainBuilder<ReturnValue, SideEffect>
Content copied to clipboard
throwsMany
Link copied to clipboard
Inheritors
Extensions
getAllArgumentsBoxedByType
Link copied to clipboard
inline fun <T : Any> KMockContract.FunProxy<*, *>.getAllArgumentsBoxedByType(): List<List<T>>
Content copied to clipboard
getAllArgumentsByType
Link copied to clipboard
inline fun <T : Any> KMockContract.FunProxy<*, *>.getAllArgumentsByType(): List<T>
Content copied to clipboard
getArgumentsByType
Link copied to clipboard
inline fun <T : Any> KMockContract.FunProxy<*, *>.getArgumentsByType(callIndex: Int): List<T>
Content copied to clipboard