void () { ResolveResult[] targets = multiResolve(); assertEquals(1, targets.length); // to class, to init PsiElement elt; // class elt = targets[0].getElement(); assertInstanceOf(elt, PyClass.class); assertEquals("Bar", ((PyClass)elt).getName()); }