@Test public void testDestroy() { final UberfireDock uberfireDock = mock(UberfireDock.class); doReturn(uberfireDock).when(dock).getUberfireDock(); dock.destroy(); verify(uberfireDocks).remove(uberfireDock); }
@Override public void destroy() { uberfireDocks.remove(getUberfireDock()); }
DecisionNavigatorDock implements DiagramEditorDock { @Override public void destroy() { uberfireDocks.remove(getUberfireDock()); } }
DecisionNavigatorDock implements DiagramEditorDock { @Override public void destroy() { uberfireDocks.remove(getUberfireDock()); } DecisionNavigatorDock(); @Inject  DecisionNavigatorDock(final UberfireDocks uberfireDocks,
                                 final DecisionNavigatorPresenter decisionNavigatorPresenter,
                                 final TranslationService translationService); }
DecisionNavigatorDock implements DiagramEditorDock { @Override public void destroy() { uberfireDocks.remove(getUberfireDock()); } DecisionNavigatorDock(); @Inject  DecisionNavigatorDock(final UberfireDocks uberfireDocks,
                                 final DecisionNavigatorPresenter decisionNavigatorPresenter,
                                 final TranslationService translationService); @Override void init(final String perspective); @Override void destroy(); void reload(); void resetContent(); @Override void open(); @Override void close(); }
DecisionNavigatorDock implements DiagramEditorDock { @Override public void destroy() { uberfireDocks.remove(getUberfireDock()); } DecisionNavigatorDock(); @Inject  DecisionNavigatorDock(final UberfireDocks uberfireDocks,
                                 final DecisionNavigatorPresenter decisionNavigatorPresenter,
                                 final TranslationService translationService); @Override void init(final String perspective); @Override void destroy(); void reload(); void resetContent(); @Override void open(); @Override void close();  }