public ExtractCwcEnrolmentHandler(ICwcEnrolmentSourceExtractor cwcEnrolmentSourceExtractor, IMnchExtractValidator extractValidator, ICwcEnrolmentLoader cwcEnrolmentLoader, IExtractHistoryRepository extractHistoryRepository)
 {
     _cwcEnrolmentSourceExtractor = cwcEnrolmentSourceExtractor;
     _extractValidator            = extractValidator;
     _cwcEnrolmentLoader          = cwcEnrolmentLoader;
     _extractHistoryRepository    = extractHistoryRepository;
 }
 public void SetUp()
 {
     _loader    = TestInitializer.ServiceProvider.GetService <ICwcEnrolmentLoader>();
     _extractor = TestInitializer.ServiceProvider.GetService <ICwcEnrolmentSourceExtractor>();
     _extract   = _extracts.First(x => x.Name.IsSameAs(nameof(CwcEnrolmentExtract)));
     _count     = _extractor.Extract(_extract, _protocol).Result;
 }
 public void SetUp()
 {
     _extractor = TestInitializer.ServiceProvider.GetService <ICwcEnrolmentSourceExtractor>();
 }