PropertiesPanelPresenter implements PropertiesPanelView.ActionDelegate, PropertiesPanel { @Override public void hideButtonsPanel() { view.hideButtonsPanel(); } PropertiesPanelPresenter(@NotNull PropertiesPanelView view, @NotNull AppContext appContext); @Override void onConfigurationChanged(); @Override void go(AcceptsOneWidget container); @Override void update(@NotNull Runner runner); @Override void update(@NotNull Environment environment); @Override void addListener(@NotNull RemovePanelListener listener); @Override void hideButtonsPanel(); @Override void onCopyButtonClicked(); @Override void onSaveButtonClicked(); @Override void onDeleteButtonClicked(); @Override void onCancelButtonClicked(); @Override void onConfigLinkClicked(); void onSwitcherChanged(boolean isOn);  }
@Test public void buttonsPanelShouldBeHide() throws Exception { presenter.hideButtonsPanel(); verify(view).hideButtonsPanel(); }