public DataLockProcessor(IMapper mapper, ILearnerMatcher learnerMatcher,
                          IOnProgrammeAndIncentiveEarningPeriodsValidationProcessor onProgrammeAndIncentiveEarningPeriodsValidationProcessor,
                          IFunctionalSkillEarningPeriodsValidationProcessor functionalSkillEarningPeriodsValidationProcessor,
                          IDuplicateEarningEventService duplicateEarningEventService)
 {
     this.mapper         = mapper;
     this.learnerMatcher = learnerMatcher;
     this.onProgrammeAndIncentiveEarningPeriodsValidationProcessor = onProgrammeAndIncentiveEarningPeriodsValidationProcessor;
     this.functionalSkillEarningPeriodsValidationProcessor         = functionalSkillEarningPeriodsValidationProcessor;
     this.duplicateEarningEventService = duplicateEarningEventService ?? throw new ArgumentNullException(nameof(duplicateEarningEventService));
 }
 public DataLockProcessor(IMapper mapper, ILearnerMatcher learnerMatcher, IEarningPeriodsValidationProcessor earningPeriodsValidationProcessor)
 {
     this.mapper         = mapper;
     this.learnerMatcher = learnerMatcher;
     this.earningPeriodsValidationProcessor = earningPeriodsValidationProcessor ?? throw new ArgumentNullException(nameof(earningPeriodsValidationProcessor));
 }