public void DoCoolStuff_5ValidFiles_ShouldRename5Files() { RenameHelper r = new RenameHelper("C:\test", "NewValue", ds, fs, o); r.DoCoolStuff(); Assert.IsTrue(r.FileRenameCounter == 5,"Incorrect number of files renamed"); }
public void DoCoolStuff_2ValidFolders_ShouldRename2Folders() { RenameHelper r = new RenameHelper("C:\test", "NewValue", ds, fs, o); r.DoCoolStuff(); Assert.IsTrue(r.FolderRenameCounter == 2,"Incorrect number of folders renamed"); }
public void DoCoolStuff_5ValidFiles_ShouldCallMove5Times() { RenameHelper r = new RenameHelper("C:\test", "NewValue", ds, fs, o); r.DoCoolStuff(); Assert.IsTrue(fileMoveCounter == 5,"Move called incorrect amount of times"); }
public void DoCoolStuff_2ValidFolders_ShouldCallFolderMoveTwice() { RenameHelper r = new RenameHelper("C:\test", "NewValue", ds, fs, o); r.DoCoolStuff(); Assert.IsTrue(folderMoveCounter == 2,"Move called incorrect amount of times"); }