public CheckExternalLinksBackgroundJobTest()
 {
     _now = DateTime.Now;
     _referenceRepository = new Mock <IReferenceRepository>();
     _interfaceRepository = new Mock <IInterfaceRepository>();
     _brokenExternalReferencesReportRepository = new Mock <IBrokenExternalReferencesReportRepository>();
     _endpointValidationService = new Mock <IEndpointValidationService>();
     _rootUrl = new KitosUrl(new Uri("https://unit-test.dk"));
     _sut     = new CheckExternalLinksBackgroundJob(
         _referenceRepository.Object,
         _interfaceRepository.Object,
         _brokenExternalReferencesReportRepository.Object,
         _endpointValidationService.Object,
         _rootUrl,
         Mock.Of <IOperationClock>(x => x.Now == _now));
 }
 public BackgroundJobLauncher(
     ILogger logger,
     CheckExternalLinksBackgroundJob checkExternalLinksJob,
     RebuildDataProcessingRegistrationReadModelsBatchJob rebuildDataProcessingRegistrationReadModels,
     ScheduleDataProcessingRegistrationReadModelUpdates scheduleDataProcessingRegistrationReadModelUpdates,
     RebuildItSystemUsageOverviewReadModelsBatchJob rebuildItSystemUsageOverviewReadModels,
     ScheduleItSystemUsageOverviewReadModelUpdates scheduleItSystemUsageOverviewReadModelUpdates,
     IRebuildReadModelsJobFactory rebuildReadModelsJobFactory,
     PurgeDuplicatePendingReadModelUpdates purgeDuplicatePendingReadModelUpdates)
 {
     _logger = logger;
     _checkExternalLinksJob = checkExternalLinksJob;
     _rebuildDataProcessingRegistrationReadModels        = rebuildDataProcessingRegistrationReadModels;
     _scheduleDataProcessingRegistrationReadModelUpdates = scheduleDataProcessingRegistrationReadModelUpdates;
     _rebuildItSystemUsageOverviewReadModels             = rebuildItSystemUsageOverviewReadModels;
     _scheduleItSystemUsageOverviewReadModelUpdates      = scheduleItSystemUsageOverviewReadModelUpdates;
     _rebuildReadModelsJobFactory           = rebuildReadModelsJobFactory;
     _purgeDuplicatePendingReadModelUpdates = purgeDuplicatePendingReadModelUpdates;
 }