public void launchμTorrentNoArgs() { service.launchμTorrent(Enumerable.Empty <string>()); string expectedFileName = Environment.ExpandEnvironmentVariables(@"C:\Program Files (x86)\uTorrent\uTorrent.exe"); A.CallTo(() => localProcessService.start(expectedFileName, "")).MustHaveHappenedOnceExactly(); }
public void launchμTorrent(IEnumerable <string> args) { string arguments = CommandLine.argvToCommandLine(args); LocalProcessService.start(μTorrentData.absoluteExecutablePath, arguments); }