void () { init(); myFixture.testStructureView(component -> { component.setActionActive(PropertiesGrouper.ID, true); component.setActionActive(Sorter.ALPHA_SORTER_ID, true); PlatformTestUtil.assertTreeEqual(component.getTree(), """ -Sample.java -Sample +II: int +o: int +r: int +RW: int +SR: int +SRW: int +SW: int +w: int"""); List<PropertyGroup> properties = getFeatures(component); assertArrayEquals(properties.stream().map(o -> o.getPresentation().getIcon(true)).toArray(), new Object[]{ PROPERTY_READ_WRITE_ICON , PROPERTY_READ_WRITE_ICON , PROPERTY_READ_ICON , PROPERTY_READ_WRITE_ICON , PROPERTY_READ_STATIC_ICON , PROPERTY_READ_WRITE_STATIC_ICON , PROPERTY_WRITE_STATIC_ICON , PROPERTY_WRITE_ICON }); assertArrayEquals(properties.stream().map(o -> o.getAccessLevel()).toArray(), new Object[]{ ACCESS_LEVEL_PUBLIC , ACCESS_LEVEL_PUBLIC , ACCESS_LEVEL_PUBLIC , ACCESS_LEVEL_PUBLIC , ACCESS_LEVEL_PUBLIC , ACCESS_LEVEL_PROTECTED , ACCESS_LEVEL_PUBLIC , ACCESS_LEVEL_PUBLIC }); }); }