void (String expected) { configure(); PsiClass predicate = findClass(Predicate.class.getName()); final PsiFunctionalExpression next = assertOneElement(FunctionalExpressionSearch.search(predicate).findAll()); assertEquals(expected, next.getText()); }