RadarMenuBuilder implements MenuFactory.CustomMenuBuilder,
                                         RadarMenuView.Presenter { @Override public void onClick() { view.reset(); view.setModellerBounds(modeller.getView().getBounds()); view.setAvailableDecisionTables(modeller.getAvailableDecisionTables()); view.setVisibleBounds(modeller.getView().getGridLayerView().getVisibleBounds()); } @Inject  RadarMenuBuilder(final RadarMenuView view); @PostConstruct void setup(); @Override void setModeller(final GuidedDecisionTableModellerView.Presenter modeller); @Override void push(final MenuFactory.CustomMenuBuilder element); @Override MenuItem build(); @SuppressWarnings("unused") void onUpdateRadarEvent(final @Observes UpdateRadarEvent event); @SuppressWarnings("unused") void onDecisionTablePinnedEvent(final @Observes DecisionTablePinnedEvent event); @SuppressWarnings("unused") void onDecisionTableSelectedEvent(final @Observes DecisionTableSelectedEvent event); @Override void onClick(); @Override void onDragVisibleBounds(final double canvasX,
                                    final double canvasY);  }
@Test public void testOnClick() { builder.onClick(); verify(view, times(1)).reset(); verify(view, times(1)).setModellerBounds(eq(bounds)); verify(view, times(1)).setAvailableDecisionTables(eq(dtables)); verify(view, times(1)).setVisibleBounds(eq(visibleBounds)); }