coJustRun

Stub block to return Unit result as a coroutine block. Part of DSL. Similar to justRun, but works with suspend functions.

Used to define what behaviour is going to be mocked. Acts as a shortcut for coEvery { ... } returns Unit.

See also