Package-level declarations

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

Creates a MockK mock using the given settings and lambda, then puts it in the Tegral DI test environment.