void () { PsiElement targetElement = resolve(); assertNotNull(targetElement); assertInstanceOf(targetElement, PyTargetExpression.class); assertEquals("FOO", ((PyTargetExpression)targetElement).getName()); }