MockK API
Toggle table of contents
1.14.8-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
MockK API
mockk-dsl
/
io.mockk
/
MockKStubScope
/
returnsArgument
returns
Argument
common
infix
fun
returnsArgument
(
n
:
Int
)
:
MockKAdditionalAnswerScope
<
T
,
B
>
(
source
)
Returns the nth argument of what has been called.