public void SetUp()
 {
     _loader    = TestInitializer.ServiceProvider.GetService <IContactListingLoader>();
     _extractor = TestInitializer.ServiceProvider.GetService <IContactListingSourceExtractor>();
     _extract   = _extracts.First(x => x.Name.IsSameAs(nameof(ContactListingExtract)));
     _count     = _extractor.Extract(_extract, _protocol).Result;
 }
 public ExtractContactListingHandler(IContactListingSourceExtractor ContactListingSourceExtractor, IExtractValidator extractValidator, IContactListingLoader ContactListingLoader, IClearDwhExtracts clearDwhExtracts, IExtractHistoryRepository extractHistoryRepository)
 {
     _ContactListingSourceExtractor = ContactListingSourceExtractor;
     _extractValidator         = extractValidator;
     _ContactListingLoader     = ContactListingLoader;
     _clearDwhExtracts         = clearDwhExtracts;
     _extractHistoryRepository = extractHistoryRepository;
 }