corda / net.corda.testing.core / sequence

sequence

fun <E> sequence(vararg expectations: ExpectCompose<E>): ExpectCompose<E>

Tests that events arrive in the specified order.

Parameters

expectations - The pieces of DSL that should run sequentially when events arrive.

fun <E> sequence(expectations: List<ExpectCompose<E>>): ExpectCompose<E>