Hi all,
When testing command handlers using aggregate root with Spring-injected resources it would be very convenient to be able to set the aggregate factory of the repository configured by the GivenWhenTestFixture.
Right now we’re using test setup code similar to the following, but it would be nice to be able to configure the aggregate factory directly and to get rid of the reflection: