public void DeleteFileIsCalledSixTimes() { var serviceUnderTest = new FtpService(_mockLog, _testWebService); serviceUnderTest.DeleteAll(_testSettings); _testWebService.Received(6).DeleteFile(Arg.Any <string>(), Arg.Any <string>(), Arg.Any <string>()); }
public void RemoveDirectoryIsCalled() { var serviceUnderTest = new FtpService(_mockLog, _testWebService); serviceUnderTest.DeleteAll(_testSettings); _testWebService.Received().RemoveDirectory(Arg.Any <string>(), Arg.Any <string>(), Arg.Any <string>()); }