when

open fun when(command: Any, header: Header): ExpectStage<S>

Executes a command with a custom header.

Return

an ExpectStage for defining expectations on the results

Parameters

command

the command to execute

header

the command header to use


open fun when(command: Any): ExpectStage<S>

Executes a command with default header.

Return

an ExpectStage for defining expectations on the results

Parameters

command

the command to execute