DefaultAggregateDslContext
class DefaultAggregateDslContext<S : Any>(val expectStages: MutableMap<String, ExpectStage<S>> = mutableMapOf()) : AggregateDslContext<S>
Default implementation of AggregateDslContext using a mutable map for storage.
This class provides a concrete implementation of the AggregateDslContext interface, using a standard mutable map to store ExpectStage references. It can be initialized with an existing map or will create a new empty map by default.
Parameters
S
the state type of the aggregate being tested