argument Captor
Creates a KArgumentCaptor for given type.
Caution: this factory method cannot be used to create a captor for a suspend function, please refer to suspendFunctionArgumentCaptor for that. This incompatibility is caused by the use of typeOf<T>() which is the way to determine runtime nullability of T, but this function is yet incompatible with suspend functions at compile time. That incompatibility has been declared since Kotlin 1.6, and the promised proper support for suspend functions has not been delivered ever since. See Kotlin issue KT-47562 for more details.
Creates 2 KArgumentCaptors for given types.
Caution: this factory method cannot be used to create a captor for a suspend function, please refer to suspendFunctionArgumentCaptor for that. This incompatibility is caused by the use of typeOf<T>() which is the way to determine runtime nullability of T, but this function is yet incompatible with suspend functions at compile time. That incompatibility has been declared since Kotlin 1.6, and the promised proper support for suspend functions has not been delivered ever since. See Kotlin issue KT-47562 for more details.
Creates 3 KArgumentCaptors for given types.
Caution: this factory method cannot be used to create a captor for a suspend function, please refer to suspendFunctionArgumentCaptor for that. This incompatibility is caused by the use of typeOf<T>() which is the way to determine runtime nullability of T, but this function is yet incompatible with suspend functions at compile time. That incompatibility has been declared since Kotlin 1.6, and the promised proper support for suspend functions has not been delivered ever since. See Kotlin issue KT-47562 for more details.
Creates 4 KArgumentCaptors for given types.
Caution: this factory method cannot be used to create a captor for a suspend function, please refer to suspendFunctionArgumentCaptor for that. This incompatibility is caused by the use of typeOf<T>() which is the way to determine runtime nullability of T, but this function is yet incompatible with suspend functions at compile time. That incompatibility has been declared since Kotlin 1.6, and the promised proper support for suspend functions has not been delivered ever since. See Kotlin issue KT-47562 for more details.
Creates 5 KArgumentCaptors for given types.
Caution: this factory method cannot be used to create a captor for a suspend function, please refer to suspendFunctionArgumentCaptor for that. This incompatibility is caused by the use of typeOf<T>() which is the way to determine runtime nullability of T, but this function is yet incompatible with suspend functions at compile time. That incompatibility has been declared since Kotlin 1.6, and the promised proper support for suspend functions has not been delivered ever since. See Kotlin issue KT-47562 for more details.
Creates a KArgumentCaptor for given type, taking in a lambda to allow fast verification.