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
/
MockKVerificationScope
/
coWithArg
co
With
Arg
common
inline
fun
<
T
:
Any
>
coWithArg
(
noinline
assertionErrorLogger
:
(
AssertionError
)
->
Unit
=
{ e -> e.printStackTrace() }
,
noinline
captureBlock
:
suspend
MockKAssertScope
.
(
T
)
->
Unit
)
:
T
(
source
)