verifyBlocking

fun verifyBlocking(f: suspend T.() -> Unit)

Verifies certain suspending behavior happened once in order.

Warning: Only one method call can be verified in the function. Subsequent method calls are ignored!


fun verifyBlocking(mode: VerificationMode, f: suspend T.() -> Unit)

Verifies certain suspending behavior happened at least once / exact number of times / never in order.

Warning: Only one method call can be verified in the function. Subsequent method calls are ignored!