void () { assertItems(""" ----group---- 1 exec1: dbg1 2 exec2: dbg1 """, new TestDebuggerProvider(new TestAttachGroup("group", 0), "dbg1")); assertItems(""" ----group---- 2 exec2: dbg1 1 exec1: dbg1 """, new TestDebuggerProvider(new TestAttachGroup("group", 0) { @Override public int compare(@NotNull ProcessInfo a, @NotNull ProcessInfo b) { return b.getPid() - a.getPid(); } }, "dbg1")); }