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

            service.isμTorrentAlreadyRunning().Should().BeTrue();
        }