The AggregateTestFixture is both: given and when stage. Depending on what happened before, calls to given events/given commands in our jgiven stages can have side effects (ensureRepositoryConfiguration, finalizeAggregateConfiguration, clearGivenWhenState).
In our Given-Stage we must ensure that we call the given methods first and then the andGiven methods.
The AggregateTestFixture is both: given and when stage. Depending on what happened before, calls to given events/given commands in our jgiven stages can have side effects (
ensureRepositoryConfiguration,finalizeAggregateConfiguration,clearGivenWhenState).In our Given-Stage we must ensure that we call the
givenmethods first and then theandGivenmethods.