void () { final Map<String, PsiElement> test = loadTest(3); for (int offset : StreamEx.of(test.values()).map(PsiElement::getTextOffset)) { final List<String> texts = Collections.singletonList("bar, baz"); final List<String[]> highlighted = Collections.singletonList(new String[]{"bar, "}); feignCtrlP(offset).check(texts, highlighted, Collections.singletonList(ArrayUtilRt.EMPTY_STRING_ARRAY)); } }