public void SetUp() { _loader = TestInitializer.ServiceProvider.GetService <IAncVisitLoader>(); _extractor = TestInitializer.ServiceProvider.GetService <IAncVisitSourceExtractor>(); _extract = _extracts.First(x => x.Name.IsSameAs(nameof(AncVisitExtract))); _count = _extractor.Extract(_extract, _protocol).Result; }
public ExtractAncVisitHandler(IAncVisitSourceExtractor ancVisitSourceExtractor, IMnchExtractValidator extractValidator, IAncVisitLoader ancVisitLoader, IExtractHistoryRepository extractHistoryRepository) { _ancVisitSourceExtractor = ancVisitSourceExtractor; _extractValidator = extractValidator; _ancVisitLoader = ancVisitLoader; _extractHistoryRepository = extractHistoryRepository; }
public void SetUp() { _extractor = TestInitializer.ServiceProvider.GetService <IAncVisitSourceExtractor>(); }