public bool isμTorrentAlreadyRunning() { return(LocalProcessService.getProcessesByName(μTorrentData.executableBasename).Length > 0); }
public void isμTorrentAlreadyRunningTrue() { A.CallTo(() => localProcessService.getProcessesByName("uTorrent")).Returns(new[] { new Process() }); service.isμTorrentAlreadyRunning().Should().BeTrue(); }