void () { final MyElement element = createElement("<a><psi-type>java.lang.String</psi-type></a>"); assertReference(element.getPsiType(), PsiType.getJavaLangString(getPsiManager(), GlobalSearchScope.allScope(getProject())).resolve()); }