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
/
MockKDsl
/
internalWithInstanceFactory
internal
With
Instance
Factory
common
inline
fun
<
T
:
Any
,
R
>
internalWithInstanceFactory
(
noinline
instanceFactory
:
(
)
->
T
,
block
:
(
)
->
R
)
:
R
(
source
)
Executes block of code with registering and unregistering instance factory.