when(mockSagaRepository.load("saga1")).thenReturn(mockSaga1);
when(mockSagaRepository.load("saga2")).thenReturn(mockSaga2);
when(mockSagaRepository.load("saga3")).thenReturn(mockSaga3);
associationValue = new AssociationValue("association", "value");
for (Saga saga : setOf(mockSaga1, mockSaga2, mockSaga3)) {
final AssociationValuesImpl associationValues = new AssociationValuesImpl();
associationValues.add(associationValue);
when(saga.getAssociationValues()).thenReturn(associationValues);
}
when(mockSagaRepository.find(isA(Class.class), eq(associationValue)))
.thenReturn(setOf("saga1", "saga2", "saga3"));
sagaCreationPolicy = SagaCreationPolicy.NONE;