public ExtractCwcVisitHandler(ICwcVisitSourceExtractor cwcVisitSourceExtractor, IMnchExtractValidator extractValidator, ICwcVisitLoader cwcVisitLoader, IExtractHistoryRepository extractHistoryRepository) { _cwcVisitSourceExtractor = cwcVisitSourceExtractor; _extractValidator = extractValidator; _cwcVisitLoader = cwcVisitLoader; _extractHistoryRepository = extractHistoryRepository; }
public void SetUp() { _loader = TestInitializer.ServiceProvider.GetService <ICwcVisitLoader>(); _extractor = TestInitializer.ServiceProvider.GetService <ICwcVisitSourceExtractor>(); _extract = _extracts.First(x => x.Name.IsSameAs(nameof(CwcVisitExtract))); _count = _extractor.Extract(_extract, _protocol).Result; }
public void SetUp() { _extractor = TestInitializer.ServiceProvider.GetService <ICwcVisitSourceExtractor>(); }