DefaultAggregateDsl
Default implementation of the AggregateDsl interface for testing aggregate behavior.
This class provides the core functionality for setting up aggregate tests by configuring the testing environment and delegating to the appropriate DSL stages. It manages the service provider and coordinates the creation of GivenDsl instances for test scenarios.
Parameters
the command type that triggers aggregate operations
the state type maintained by the aggregate
Properties
The aggregate DSL context for managing shared test state.
A mutable list of dynamic test nodes that can be modified by subclasses.
Public service provider instance that can be configured with test-specific services. This provider is copied to the test service provider during test execution.
Functions
Injects services into the public service provider.
Sets up a test scenario for the specified aggregate.