PropertiesPanelPresenter implements PropertiesPanelView.ActionDelegate, PropertiesPanel { @Override public void onCopyButtonClicked() { throw new UnsupportedOperationException(UNSUPPORTED_METHOD); } 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(expected = UnsupportedOperationException.class) public void clickingToButtonCopyShouldBeUnsupportedOperation() { presenter.onCopyButtonClicked(); }