Hello,
Thanks for releasing the RC1. I noticed, that my unit tests using the previous release broke.
Caould you please outline how the fixtures for Aggregates and Sagas are to be initialized now ?
It appears that the Factory has disappeared, and that the Annotated Saga Fixture was renamed to SagaTestFixture.
@Before
public void setUp() {
fixture = new SagaTestFixture<>(MySaga.class);
}
Results in the @Autowired command bus and scheduler not be be initialized in the Saga.
fixture.registerResource(scheduler);
Does not help (tried to mock a scheduler with mockito here) and the scheduler is still null at Saga runtime.
Thank you.
I am looking forward to test the new replay functionality.
Dominic