void () { ModifiableRootModel rootModel = createRootModel(); Library library = rootModel.getModuleLibraryTable().createLibrary("named"); CellAppearanceEx appearance = simpleTextAppearance(getLastOrderEntry(rootModel)); assertEquals("named", appearance.getText()); addClassRoot(library); appearance = simpleTextAppearance(getLastOrderEntry(rootModel)); assertEquals("named", appearance.getText()); }