void () { ResolveResult[] resolveResults = multiResolve(); assertEquals(1, resolveResults.length); final PsiElement psiElement = resolveResults[0].getElement(); assertTrue(psiElement instanceof PyTargetExpression && "xyzzy".equals(((PyTargetExpression)psiElement).getName())); }