public void GetFilesShouldCallFinder()
        {
            string path = "c:\\temp";

            _subject.SourceFolder(path).GetFiles();
            _fileSystemHelper.AssertWasCalled(x => x.FindInFoldersRecursively(path, "*.*"));
        }
Beispiel #2
0
 public void FindExecutable_ShouldAutoFindIfNotSet()
 {
     _fileSystemHelper.Stub(x => x.Find("ILMerge.exe")).Return("c:\\ilmerge.exe");
     _subject.FindExecutable();
     _fileSystemHelper.AssertWasCalled(x => x.Find("ILMerge.exe"));
 }