public void SetUp() { _loader = TestInitializer.ServiceProvider.GetService <IOvcLoader>(); _extractor = TestInitializer.ServiceProvider.GetService <IOvcSourceExtractor>(); _extract = _extracts.First(x => x.Name.IsSameAs(nameof(OvcExtract))); _count = _extractor.Extract(_extract, _protocol).Result; }
public ExtractOvcHandler(IOvcSourceExtractor OvcSourceExtractor, IExtractValidator extractValidator, IOvcLoader OvcLoader, IClearDwhExtracts clearDwhExtracts, IExtractHistoryRepository extractHistoryRepository) { _OvcSourceExtractor = OvcSourceExtractor; _extractValidator = extractValidator; _OvcLoader = OvcLoader; _clearDwhExtracts = clearDwhExtracts; _extractHistoryRepository = extractHistoryRepository; }
public void SetUp() { _extractor = TestInitializer.ServiceProvider.GetService <IOvcSourceExtractor>(); }