verifySuspend

fun verifySuspend(mode: VerifyMode = MokkeryCompilerDefaults.verifyMode, block: suspend ArgMatchersScope.() -> Unit)

Just like verify, but allows suspendable function calls.


fun MokkerySuiteScope.verifySuspend(mode: VerifyMode = MokkeryCompilerDefaults.verifyMode, block: suspend ArgMatchersScope.() -> Unit)

Just like verify, but allows suspendable function calls.

If verify mode is exhaustive, mocks from MokkerySuiteScope are also checked.