DefaultWhenDsl
class DefaultWhenDsl<S : Any>(val context: AggregateDslContext<S>, delegate: WhenStage<S>) : AbstractDynamicTestBuilder, WhenDsl<S> , Named
Default implementation of the WhenDsl interface for defining command execution in tests.
This class provides functionality to specify commands to be executed against an aggregate and define expectations for the results. It manages test naming and coordinates the transition from command execution to expectation verification.
Parameters
S
the state type of the aggregate