Package guru.zoroark.tegral.di.test.mockk
Functions
Link copied to clipboard
inline fun <T : Any> TestMutableInjectionEnvironment.putMock( name: String? = null, relaxed: Boolean = false, vararg moreInterfaces: KClass<*>, relaxUnitFun: Boolean = false, mockSetup: T.() -> Unit): T
Content copied to clipboard
Creates a MockK mock using the given settings and lambda, then puts it in the Tegral DI test environment.