verifyAll

fun verifyAll(inverse: Boolean = false, verifyBlock: <Error class: unknown class>.() -> Unit): <Error class: unknown class>

Verifies all the calls of the mocks specified inside verifyBlock. Once a mock is specified inside verifyBlock, all its recorded calls are expected to be verified within verifyBlock. Otherwise, the verification fails. Does not verify any order.

If ordering is important, use verifyOrder.

Parameters

inverse

when true, the verification will check that the behaviour specified did not happen

See also