public void PerformComparisonAndCleanUp(IThresholdRecieve inputRecieve, IDataExtract dataExtract, ICompare compare, IDataRemove dataRemove, string fileName, string zipPath, string outputPath) { var qualityThresholdList = inputRecieve.getThresholdList(fileName); var csvThresholdList = dataExtract.ExtractData(outputPath); compare.Compare(qualityThresholdList, csvThresholdList); Thread.Sleep(10000); dataRemove.Remove(Path.GetFullPath(Directory.GetCurrentDirectory()), zipPath, fileName); }
public void GivenRandomPathWhenCsvDataExtractorInvokedThenFileNotFoundException() { _dataExtract.ExtractData("TestPath"); }