expectCommandCount

open override fun expectCommandCount(expected: Int): ExpectDsl<T>

Creates a dynamic test expecting a specific number of commands.

Return

This DSL instance for method chaining.

Parameters

expected

The expected number of commands in the command stream.