Captor

Captures a parameter to it can be extracted from com.splendo.kaluga.test.base.mock.verify

Inheritors

Properties

Link copied to clipboard
abstract val captured: List<T>

The list of all parameters that were captured by this captor

Link copied to clipboard
abstract val lastCaptured: T?

The last parameter captured by this captor or null if no parameter was captured

Functions

Link copied to clipboard
Link copied to clipboard
abstract fun capture(value: T)

Captures a given value