when

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

Deprecated

use whenCommand instead.

Replace with

whenCommand(command,header)

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>

Deprecated

use whenCommand instead.

Replace with

whenCommand(command)

Executes a command with default header.

Return

an ExpectStage for defining expectations on the results

Parameters

command

the command to execute