asyncVerifyOrder

suspend fun KMockContract.Asserter.asyncVerifyOrder(action: suspend KMockContract.ChainedAssertion.() -> Any)

Verifies a chain of Expectations in a Coroutine Context. Each Expectation must be in order but gaps are allowed. Also the chain does not need to be exhaustive. Use that context only in combination with proxy access methods.

Author

Matthias Geisler

See also

Parameters

action

chain of Expectation Methods.

Throws

if given criteria are not met.