assertOrder

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

Asserts a chain of Expectations. Each Expectation must be in strict order of the referenced Proxy invocations and all invocations must be present.

Author

Matthias Geisler

See also

Parameters

action

chain of Expectation Methods.

Throws

if given criteria are not met.