koin-test / org.koin.test.mock / org.koin.core.definition.BeanDefinition

Extensions for org.koin.core.definition.BeanDefinition

createMockedDefinition

fun <T : Any> BeanDefinition<T>.createMockedDefinition(stubbing: T.() -> Unit = null): BeanDefinition<T>