Esempio n. 1
0
        public void FindProcesses()
        {
            var watcher   = new ProcessWatcher();
            var processes = watcher.GetProcesses(ProcessName);

            Assert.IsTrue(processes.Select(e => e.ProcessName.Equals(ProcessName)).Count() > 0);
            Assert.AreEqual(processes[0].ProcessName, ProcessName);
        }