WhenDsl
Defines the "When" phase of aggregate testing where commands are executed.
This interface provides methods to execute commands on aggregates that have been set up in the Given phase, transitioning to the Expect phase for result validation.
Parameters
S
the type of the aggregate state