void () { myFixture.configureByText("a.java", "enum F { A,B,C}"); myFixture.testStructureView(svc -> { svc.setActionActive(InheritedMembersNodeProvider.ID, true); svc.setActionActive(PropertiesGrouper.ID, false); svc.setActionActive(SuperTypesGrouper.ID, true); svc.setActionActive(Sorter.ALPHA_SORTER_ID, true); JTree tree = svc.getTree(); PlatformTestUtil.expandAll(tree); PlatformTestUtil.assertTreeEqual(tree, """ -a.java -F -Comparable compareTo(T): int -Enum clone(): Object compareTo(E): int equals(Object): boolean finalize(): void getDeclaringClass(): Class<E> hashCode(): int name(): String ordinal(): int toString(): String valueOf(Class<T>, String): T -F valueOf(String): F values(): F[] -Object getClass(): Class<?> notify(): void notifyAll(): void wait(): void wait(long): void wait(long, int): void A: F B: F C: F"""); }); }