mockito-kotlin / com.nhaarman.mockito_kotlin / KArgumentCaptor

KArgumentCaptor

class KArgumentCaptor<out T> (source)

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