Пример #1
0
 public AlertService(INyssContext nyssContext, IReportLabelingService reportLabelingService, ILoggerAdapter loggerAdapter, IQueuePublisherService queuePublisherService,
                     INyssReportApiConfig config, IStringsResourcesService stringsResourcesService, IDateTimeProvider dateTimeProvider)
 {
     _nyssContext           = nyssContext;
     _reportLabelingService = reportLabelingService;
     _loggerAdapter         = loggerAdapter;
     _queuePublisherService = queuePublisherService;
     _config = config;
     _stringsResourcesService = stringsResourcesService;
     _dateTimeProvider        = dateTimeProvider;
 }
Пример #2
0
 public ReportLabelingServiceTests()
 {
     _nyssContextMock       = Substitute.For <INyssContext>();
     _reportLabelingService = new ReportLabelingService(_nyssContextMock);
     _testData = new ReportLabelingServiceTestsData(_nyssContextMock);
 }