public DuplicateFinder(ICompareService compareService, IFileWalker fileWalker, IFileSystemService fileSystemServices, IConfigService configService) { _compareService = compareService; _fileWalker = fileWalker; _fileSystemServices = fileSystemServices; _configService = configService; }
public DuplicateFinderTests() { _fileWalker = Substitute.For <IFileWalker>(); _compareService = Substitute.For <ICompareService>(); _fileSystemService = Substitute.For <IFileSystemService>(); _fileDetailService = Substitute.For <IFileDetailService>(); _configService = Substitute.For <IConfigService>(); _duplicateFinder = new DuplicateFinder.DuplicateFinder(_compareService, _fileWalker, _fileSystemService, _configService); }
public Runner( IBytesReader bytesReader, IFileWalker fileWalker, string separator, string bytesSeperator) { _bytesReader = bytesReader; _fileWalker = fileWalker; _separator = separator; _bytesSeparator = bytesSeperator; }