ProcessInstanceDetailsViewImpl extends Composite implements ProcessInstanceDetailsPresenter.ProcessInstanceDetailsView { @Override public void displayOnlyLogTab() { for (Widget active : navTabs) { active.setVisible(false); } for (Widget active : tabContent) { active.setVisible(false); } instanceDetailsPane.setVisible(true); instanceDetailsTab.setVisible(true); logsPane.setVisible(true); logsTab.setVisible(true); diagramPane.setVisible(true); diagramTab.setVisible(true); }  @Override void init(final ProcessInstanceDetailsPresenter presenter); void initTabs(); @Override void resetTabs(boolean onlyLogTab); @Override void displayAllTabs(); @Override void displayOnlyLogTab(); @Override void showDiagramTab(); @Override void displayNotification(String text);  }
@Test public void displayOnlyLogTabTest() { processInstanceDetailsMultiView.displayOnlyLogTab(); verify(instanceDetailsPane).setVisible(true); verify(instanceDetailsTab).setVisible(true); verify(logsPane).setVisible(true); verify(logsTab).setVisible(true); verify(diagramPane).setVisible(true); verify(diagramTab).setVisible(true); }