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; }
public ExtractOtzHandler(IOtzSourceExtractor OtzSourceExtractor, IExtractValidator extractValidator, IOtzLoader OtzLoader, IClearDwhExtracts clearDwhExtracts, IExtractHistoryRepository extractHistoryRepository) { _OtzSourceExtractor = OtzSourceExtractor; _extractValidator = extractValidator; _OtzLoader = OtzLoader; _clearDwhExtracts = clearDwhExtracts; _extractHistoryRepository = extractHistoryRepository; }
public void SetUp() { _extractor = TestInitializer.ServiceProvider.GetService <IOtzSourceExtractor>(); }