void () { myFixture.addClass("package foo; public class Outer { protected static class Inner { protected Inner() {} } }"); PsiReference ref = configure(); assertEquals("Inner", assertInstanceOf(ref.resolve(), PsiClass.class).getName()); }