@Test public void testClose() throws Exception { presenter.close(); verify(view, times(0)).init(presenter); verify(view, times(0)).configure(any(DataSetSummary.View.class)); verify(view, times(0)).showHeader(anyString(), anyString(), any(SafeUri.class), anyString(), anyString()); verify(view, times(0)).showSummary(); verify(view, times(1)).hideSummary(); verify(view, times(0)).enableActionButton(anyString(), any(ClickHandler.class)); verify(view, times(0)).disableActionButton(); }
public void close() { view.hideSummary(); }
DataSetPanel implements IsWidget { public void close() { view.hideSummary(); } }
DataSetPanel implements IsWidget { public void close() { view.hideSummary(); } @Inject  DataSetPanel(final DataSetSummary dataSetSummary, 
                        final Event<EditDataSetEvent> editDataSetEvent, 
                        final View view); }
DataSetPanel implements IsWidget { public void close() { view.hideSummary(); } @Inject  DataSetPanel(final DataSetSummary dataSetSummary, 
                        final Event<EditDataSetEvent> editDataSetEvent, 
                        final View view); @PostConstruct void init(); @Override Widget asWidget(); void show(final DataSetDef def, final String parentPanelId); void close(); void disable(); DataSetDef getDataSetDef(); }
DataSetPanel implements IsWidget { public void close() { view.hideSummary(); } @Inject  DataSetPanel(final DataSetSummary dataSetSummary, 
                        final Event<EditDataSetEvent> editDataSetEvent, 
                        final View view); @PostConstruct void init(); @Override Widget asWidget(); void show(final DataSetDef def, final String parentPanelId); void close(); void disable(); DataSetDef getDataSetDef();  }