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
/
io.mockk.impl.instantiation
/
AbstractInstantiator
/
instantiateViaInstanceFactoryRegistry
instantiate
Via
Instance
Factory
Registry
common
fun
<
T
:
Any
>
instantiateViaInstanceFactoryRegistry
(
cls
:
KClass
<
T
>
,
orInstantiate
:
(
)
->
T
)
:
T
(
source
)