verify

fun verify(    ordering: <Error class: unknown class> = Ordering.UNORDERED,     inverse: Boolean = false,     atLeast: Int = 1,     atMost: Int = Int.MAX_VALUE,     exactly: Int = -1,     timeout: Long = 0,     verifyBlock: <Error class: unknown class>.() -> Unit): <Error class: unknown class>

Verifies that calls were made in the past. Part of DSL

Parameters

ordering

how the verification should be ordered

inverse

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

atLeast

verifies that the behaviour happened at least atLeast times

atMost

verifies that the behaviour happened at most atMost times

exactly

verifies that the behaviour happened exactly exactly times. Use -1 to disable

timeout

timeout value in milliseconds. Will wait until one of two following states: either verification is passed or timeout is reached.

verifyBlock

code block containing at least 1 call to verify