void () { setupLoadingFilter(); final PsiClass aClass = findClass("enumImplements.MyEnum"); final PsiClassType[] implementsListTypes = aClass.getImplementsListTypes(); assertEquals(1, implementsListTypes.length); final PsiClass baseInterface = implementsListTypes[0].resolve(); assertNotNull(baseInterface); assertEquals("I", baseInterface.getName()); tearDownLoadingFilter(); }