coEvery

fun <T> coEvery(stubBlock: suspend MockKMatcherScope.() -> T): MockKStubScope<T, T>(source)

Starts a block of stubbing for coroutines. Part of DSL. Similar to every, but works with suspend functions.

Used to define what behaviour is going to be mocked.

See also