public CalculateEarningsCommandHandler(
     IApprenticeshipIncentiveDomainRepository domainRepository,
     IIncentivePaymentProfilesService incentivePaymentProfilesService,
     ICollectionCalendarService collectionCalendarService,
     IScheduledCommandPublisher commandPublisher)
 {
     _domainRepository = domainRepository;
     _incentivePaymentProfilesService = incentivePaymentProfilesService;
     _collectionCalendarService       = collectionCalendarService;
     _commandPublisher = commandPublisher;
 }
 public TestScheduledCommandPublisher(IScheduledCommandPublisher messageSession, IHook <object> hook)
 {
     _messageSession = messageSession;
     _hook           = hook;
 }