void (String expected, XAttachDebuggerProvider @NotNull ... providers) { ProcessInfo[] infos = { new ProcessInfo(1, "command line 1", "exec1", "args1"), new ProcessInfo(2, "command line 2", "exec2", "args2"), }; assertItems(expected, infos, providers); }