mockito-kotlin / com.nhaarman.mockitokotlin2 / KArgumentCaptor

KArgumentCaptor

class KArgumentCaptor<out T>

Constructors

<init>

KArgumentCaptor(captor: ArgumentCaptor<T>, tClass: KClass<*>)

Properties

allValues

val allValues: List<T>

firstValue

val firstValue: T

The first captured value of the argument.

lastValue

val lastValue: T

The last captured value of the argument.

secondValue

val secondValue: T

The second captured value of the argument.

thirdValue

val thirdValue: T

The third captured value of the argument.

Functions

capture

fun capture(): T