public void SetUp()
 {
     _loader    = TestInitializer.ServiceProvider.GetService <IDrugAlcoholScreeningLoader>();
     _extractor = TestInitializer.ServiceProvider.GetService <IDrugAlcoholScreeningSourceExtractor>();
     _extract   = _extracts.First(x => x.Name.IsSameAs(nameof(DrugAlcoholScreeningExtract)));
     _count     = _extractor.Extract(_extract, _protocol).Result;
 }
Beispiel #2
0
 public ExtractDrugAlcoholScreeningHandler(IDrugAlcoholScreeningSourceExtractor DrugAlcoholScreeningSourceExtractor, IExtractValidator extractValidator, IDrugAlcoholScreeningLoader DrugAlcoholScreeningLoader, IClearDwhExtracts clearDwhExtracts, IExtractHistoryRepository extractHistoryRepository)
 {
     _DrugAlcoholScreeningSourceExtractor = DrugAlcoholScreeningSourceExtractor;
     _extractValidator           = extractValidator;
     _DrugAlcoholScreeningLoader = DrugAlcoholScreeningLoader;
     _clearDwhExtracts           = clearDwhExtracts;
     _extractHistoryRepository   = extractHistoryRepository;
 }
 public void SetUp()
 {
     _extractor = TestInitializer.ServiceProvider.GetService <IDrugAlcoholScreeningSourceExtractor>();
 }