getArgumentsByType

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.

Return

List of T

Parameters

T

the type to look out for.

callIndex

the index to look at.

Throws

if there is no call recorded at given index