public ExtractPncVisitHandler(IPncVisitSourceExtractor pncVisitSourceExtractor, IMnchExtractValidator extractValidator, IPncVisitLoader pncVisitLoader, IExtractHistoryRepository extractHistoryRepository) { _pncVisitSourceExtractor = pncVisitSourceExtractor; _extractValidator = extractValidator; _pncVisitLoader = pncVisitLoader; _extractHistoryRepository = extractHistoryRepository; }
public void SetUp() { _loader = TestInitializer.ServiceProvider.GetService <IPncVisitLoader>(); _extractor = TestInitializer.ServiceProvider.GetService <IPncVisitSourceExtractor>(); _extract = _extracts.First(x => x.Name.IsSameAs(nameof(PncVisitExtract))); _count = _extractor.Extract(_extract, _protocol).Result; }
public void SetUp() { _extractor = TestInitializer.ServiceProvider.GetService <IPncVisitSourceExtractor>(); }