public ApprenticeshipContractTypeEarningsEventBuilder(IApprenticeshipContractTypeEarningsEventFactory factory, IRedundancyEarningService redundancyEarningService, IMapper mapper) { this.factory = factory ?? throw new ArgumentNullException(nameof(factory)); this.redundancyEarningService = redundancyEarningService ?? throw new ArgumentNullException(nameof(redundancyEarningService)); this.mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }