void () { List<ProcessInfo> infos = ProcessListUtil.parseMacOutput( """ PID PPID STAT USER COMM 1 0 S user /dir/file 2 1 Z user /dir/file 3 1 SZ user /dir/file """, """ PID PPID STAT USER COMM 1 0 S user /dir/file 2 1 Z user /dir/file 3 1 SZ user /dir/file """ ); assertOrderedEquals(infos, new ProcessInfo(1, "/dir/file", "file", "", "/dir/file", 0, "user", ThreeState.UNSURE)); }