mockito-kotlin / org.mockito.kotlin / InOrderOnType

InOrderOnType

class InOrderOnType<T> : KInOrder

Constructors

<init>

InOrderOnType(t: T)

Functions

verify

fun verify(): T

Verifies certain behavior happened once in order.

fun verify(mode: VerificationMode): T

Verifies certain behavior happened at least once / exact number of times / never in order.

verifyBlocking

fun verifyBlocking(f: suspend T.() -> Unit): Unit

Verifies certain suspending behavior happened once in order.

fun verifyBlocking(mode: VerificationMode, f: suspend T.() -> Unit): Unit

Verifies certain suspending behavior happened at least once / exact number of times / never in order.