ExpectedResult
constructor(exchange: ServerCommandExchange<*>, stateAggregate: StateAggregate<S>, domainEventStream: DomainEventStream? = null, error: Throwable? = null)
Parameters
S
the type of the aggregate state
the type of the aggregate state