public void CompareFiles_FilesAreNotEqual_ReturnFalse() { DuplicateFileFinder duplicateFileFinder = new DuplicateFileFinder(new FileSystemWrapperStub()); bool result = duplicateFileFinder.CompareFiles(GetCheckFile("file1"), GetCheckFile("file2")); Assert.IsFalse(result); }
public void CompareFiles_SecondFileNotFound_ThrowsFileNotFoundException() { DuplicateFileFinder duplicateFileFinder = new DuplicateFileFinder(new FileSystemWrapperStub()); duplicateFileFinder.CompareFiles(GetCheckFile("file"), GetCheckFile("notfile")); }