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()); }
public void ItShouldNotTryToDeleteAnyFiles() { FileUtilities.AssertWasNotCalled( u => u.FileDelete(null), o => o.IgnoreArguments()); }
public void ItShouldNotCopyTheFileThatExists() { FileUtilities.AssertWasNotCalled(u => u.FileCopy(@"c:\Source\A", @"d:\Dest\A")); }