NavTreeEditor extends NavItemEditor { void hideLoading() { loadingBox.hide(); } @Inject  NavTreeEditor(NavTreeEditorView view,
                         NavigationManager navigationManager,
                         SyncBeanManager beanManager,
                         PlaceManager placeManager,
                         PerspectiveTreeProvider perspectiveTreeProvider,
                         TargetPerspectiveEditor targetPerspectiveEditor,
                         PerspectivePluginManager perspectivePluginManager,
                         Event<NavItemEditStartedEvent> navItemEditStartedEvent,
                         Event<NavItemEditCancelledEvent> navItemEditCancelledEvent,
                         LoadingBox loadingBox); void setOnSaveCommand(Command onSaveCommand); @Override String getGroupLiteral(); NavTree getNavTree(); void edit(NavTree navTree); void newTree(); NavItemEditorSettings setMaxLevels(String navItemId, int maxLevels); NavItemEditorSettings.Flags setNewGroupEnabled(String navItemId, boolean enabled); NavItemEditorSettings.Flags setNewPerspectiveEnabled(String navItemId, boolean enabled); NavItemEditorSettings.Flags setNewDividerEnabled(String navItemId, boolean enabled); NavItemEditorSettings.Flags setOnlyRuntimePerspectives(String navItemId, boolean enabled); NavItemEditorSettings.Flags setPerspectiveContextEnabled(String navItemId, boolean enabled); static final NavigationConstants i18n; static final String ROOT_GROUP_ID; }
@Test public void testHideLoading() { navTreeEditor.hideLoading(); verify(loadingBox).hide(); }