void () { List<ProcessInfo> infos = ProcessListUtil.parseWMICOutput( """ Caption CommandLine ExecutablePath ParentProcessId ProcessId \s System Idle Process -1 0 \s System 0 4 \s smss.exe 0 304 \s """, Collections.emptyMap(), null); assertOrderedEquals(infos, new ProcessInfo(4, "System", "System", "", null, 0), new ProcessInfo(304, "smss.exe", "smss.exe", "", null, 0)); }