async Assert Order
suspend fun KMockContract.Asserter.asyncAssertOrder(action: suspend KMockContract.ChainedAssertion.() -> Any)
Content copied to clipboard
Asserts a chain of Expectations in a coroutine Context. Each Expectation must be in strict order of the referenced Proxy invocations and all invocations must be present. 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.