Package tech.antibytes.kmock.proxy

Types

NoopCollector
Link copied to clipboard
common
object NoopCollector : KMockContract.Collector
Placeholder Collector for Proxies.
ProxyFactory
Link copied to clipboard
common
object ProxyFactory : KMockContract.ProxyFactory

Functions

getAllArgumentsBoxedByType
Link copied to clipboard
common
inline fun <T : Any> KMockContract.FunProxy<*, *>.getAllArgumentsBoxedByType(): List<List<T>>
Retrieves arguments for given type of FunProxy, while boxing them in sub lists for each call.
getAllArgumentsByType
Link copied to clipboard
common
inline fun <T : Any> KMockContract.FunProxy<*, *>.getAllArgumentsByType(): List<T>
Retrieves arguments for given type of FunProxy.
getArgumentsByType
Link copied to clipboard
common
inline fun <T : Any> KMockContract.FunProxy<*, *>.getArgumentsByType(callIndex: Int): List<T>
Retrieves arguments of a call at a given index for a given type of FunProxy.