fun inOrder(vararg mocks: Any): InOrder
Creates InOrder object that allows verifying mocks in order.
Alias for Mockito.inOrder.
inline fun inOrder(vararg mocks: Any, evaluation: InOrder.() -> Unit): Unit
Creates InOrder object that allows verifying mocks in order. Accepts a lambda to allow easy evaluation.
Alias for Mockito.inOrder.
inline fun <T> T.inOrder(block: InOrderOnType<T>.() -> Any): Unit
Allows InOrder verification for a single mocked instance:
mock.inOrder { verify().foo() }