public void QueryAllChildProcesses() { uint id = ProcessHelper.ByName("wininit.exe").Single().ProcessId.Value; IEnumerable <Win32Process> tree = ProcessHelper.AllChildProcesses(id); EnumerableAssert.Multiple(tree); IEnumerable <Win32Process> childProcesses = ProcessHelper.ChildProcesses(id); Assert.IsTrue(tree.Count() > childProcesses.Count()); }