void () { configureByFile(); PsiReference reference = myFixture.getReferenceAtCaretPositionWithAssertion(); PsiField resolvedField = assertInstanceOf(reference.resolve(), PsiField.class); assertEquals("FAVORITES_VIEW_POPUP", resolvedField.getName()); }