expectCommandType

open override fun expectCommandType(vararg expected: KClass<*>): ExpectDsl<T>

Creates a dynamic test expecting commands of specific types in order.

Return

This DSL instance for method chaining.

Parameters

expected

Variable number of KClass representing expected command body types.