GivenDsl
Defines the "Given" phase of aggregate testing where preconditions are established.
This interface provides methods to set up the initial state of an aggregate before executing commands. It supports various ways to initialize aggregate state including event replay, direct state setting, and dependency injection.
Parameters
S
the type of the aggregate state