Ejemplo n.º 1
0
 public void SetUp()
 {
     _loader    = TestInitializer.ServiceProvider.GetService <IOtzLoader>();
     _extractor = TestInitializer.ServiceProvider.GetService <IOtzSourceExtractor>();
     _extract   = _extracts.First(x => x.Name.IsSameAs(nameof(OtzExtract)));
     _count     = _extractor.Extract(_extract, _protocol).Result;
 }
Ejemplo n.º 2
0
 public ExtractOtzHandler(IOtzSourceExtractor OtzSourceExtractor, IExtractValidator extractValidator, IOtzLoader OtzLoader, IClearDwhExtracts clearDwhExtracts, IExtractHistoryRepository extractHistoryRepository)
 {
     _OtzSourceExtractor       = OtzSourceExtractor;
     _extractValidator         = extractValidator;
     _OtzLoader                = OtzLoader;
     _clearDwhExtracts         = clearDwhExtracts;
     _extractHistoryRepository = extractHistoryRepository;
 }