mockk
inline fun <T> MockspressoBuilder.mockk(qualifier: Annotation? = null, name: String? = null, relaxed: Boolean = true, vararg moreInterfaces: KClass<*>, relaxUnitFun: Boolean = true, noinline block: T.() -> Unit = {}): MockspressoBuilder
Add a mockk with the supplied params as a dependency in this mockspresso instance. Mock will be bound with the supplied qualifier annotation. If you need a reference to the mock dependency, consider MockspressoProperties.mockk instead.
IMPORTANT: we default relaxed and relaxUnitFun to true for defaultMocks.
inline fun <T> MockspressoProperties.mockk(qualifier: Annotation? = null, name: String? = null, relaxed: Boolean = false, vararg moreInterfaces: KClass<*>, relaxUnitFun: Boolean = false, noinline block: T.() -> Unit = {}): Lazy<T>
Add a mockk with the supplied params as a dependency in this mockspresso instance. Mockk will be bound with the supplied qualifier annotation and will be accessible via the returned lazy.