verifyOrder

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

Verifies a chain of Expectations. Each Expectation must be in order but gaps are allowed. Also the chain does not need to be exhaustive.

Author

Matthias Geisler

See also

Parameters

action

chain of Expectation Methods.

Throws

if given criteria are not met.