DataSetSummary implements IsWidget { void showLoadingIcon() { view.showSizePanelIcon(IconType.REFRESH, DataSetExplorerConstants.INSTANCE.loading(), ICON_COLOR_DEFAULT, true); } @Inject  DataSetSummary(final DataSetClientServices clientServices, 
                          final Event<ErrorEvent> errorEvent, 
                          final View view); @PostConstruct void init(); @Override Widget asWidget(); void show(final DataSetDef def);  }
@Test public void testShowLoadingIcon() { presenter.showLoadingIcon(); verify(view, times(0)).init(presenter); verify(view, times(0)).showStatusPanel(anyBoolean(), anyBoolean(), anyBoolean()); verify(view, times(1)).showSizePanelIcon(any(IconType.class), anyString(), anyString(), anyBoolean()); verify(view, times(0)).showSizePanel(anyString(), anyString()); }