TaskDetailsMultiViewImpl extends Composite implements TaskDetailsMultiPresenter.TaskDetailsMultiView { @Override public void displayOnlyLogTab() { for (Widget active : navTabs) { active.setVisible(false); } for (Widget active : tabContent) { active.setVisible(false); } taskDetailsPane.setVisible(true); taskDetailsTab.setVisible(true); taskCommentsPane.setVisible(true); taskCommentsTab.setVisible(true); taskLogsPane.setVisible(true); taskLogsTab.setVisible(true); }  @Override void init(final TaskDetailsMultiPresenter presenter); @Override void setAdminTabVisible(final boolean value); @Override void resetTabs(boolean onlyLogTab); @Override void displayAllTabs(); @Override void displayOnlyLogTab(); @Override void displayNotification(String text);  }
@Test public void displayOnlyLogTabTest() { taskDetailsMultiView.displayOnlyLogTab(); verify(taskDetailsPane).setVisible(true); verify(taskDetailsTab).setVisible(true); verify(taskLogsPane).setVisible(true); verify(taskLogsTab).setVisible(true); }