void () { configure(); PsiNewExpression newExpression = ContainerUtil.getOnlyItem(PsiTreeUtil.findChildrenOfType(getFile(), PsiNewExpression.class)); assertNotNull(newExpression); PsiType type = newExpression.getType(); assertEquals("TreeSet<? super java.lang.String>", type.getCanonicalText()); }