void () { final int offset = loadTest(1).get("<arg2>").getTextOffset(); final List<String> texts = Arrays.asList("self: C1, x", "self: C2, x, y: str"); final List<String[]> highlighted = Arrays.asList(ArrayUtilRt.EMPTY_STRING_ARRAY, new String[]{"y: str"}); final List<String[]> disabled = Arrays.asList(new String[]{"self: C1, "}, new String[]{"self: C2, "}); feignCtrlP(offset).check(texts, highlighted, disabled); }