Example #1
0
 public void ItShouldNotDeleteTheFilesToBeKept()
 {
     FileUtilities.AssertWasNotCalled(u => u.FileDelete(@"c:\a\b\c\1.mp3"));
     FileUtilities.AssertWasNotCalled(u => u.FileDelete(@"c:\a\b\c\3.mp3"));
 }
 public void ItShouldNotCopyAnyFiles()
 {
     FileUtilities.AssertWasNotCalled(
         f => f.FileCopy(null, null),
         o => o.IgnoreArguments());
 }
Example #3
0
 public void ItShouldNotTryToDeleteAnyFiles()
 {
     FileUtilities.AssertWasNotCalled(
         u => u.FileDelete(null),
         o => o.IgnoreArguments());
 }
Example #4
0
 public void ItShouldNotCopyTheFileThatExists()
 {
     FileUtilities.AssertWasNotCalled(u => u.FileCopy(@"c:\Source\A", @"d:\Dest\A"));
 }