@Test public void testSetMaxScale() { tested.setMaxScale(0.4d); verify(selector, times(1)).setMaxScale(eq(0.4d)); verify(mediators, times(1)).setMaxScale(eq(0.4d)); }
public LienzoPanelMediators setMaxScale(final double maxScale) { selector.setMaxScale(maxScale); mediators.setMaxScale(maxScale); return this; }
LienzoPanelMediators { public LienzoPanelMediators setMaxScale(final double maxScale) { selector.setMaxScale(maxScale); mediators.setMaxScale(maxScale); return this; } }
LienzoPanelMediators { public LienzoPanelMediators setMaxScale(final double maxScale) { selector.setMaxScale(maxScale); mediators.setMaxScale(maxScale); return this; } @Inject  LienzoPanelMediators(final LienzoCanvasMediators mediators,
                                final ZoomLevelSelectorPresenter selector); }
LienzoPanelMediators { public LienzoPanelMediators setMaxScale(final double maxScale) { selector.setMaxScale(maxScale); mediators.setMaxScale(maxScale); return this; } @Inject  LienzoPanelMediators(final LienzoCanvasMediators mediators,
                                final ZoomLevelSelectorPresenter selector); LienzoPanelMediators init(final Supplier<LienzoCanvas> canvas); LienzoPanelMediators setMinScale(final double minScale); LienzoPanelMediators setMaxScale(final double maxScale); LienzoPanelMediators setZoomFactor(final double factor); void enable(); void disable(); @PreDestroy void destroy(); }
LienzoPanelMediators { public LienzoPanelMediators setMaxScale(final double maxScale) { selector.setMaxScale(maxScale); mediators.setMaxScale(maxScale); return this; } @Inject  LienzoPanelMediators(final LienzoCanvasMediators mediators,
                                final ZoomLevelSelectorPresenter selector); LienzoPanelMediators init(final Supplier<LienzoCanvas> canvas); LienzoPanelMediators setMinScale(final double minScale); LienzoPanelMediators setMaxScale(final double maxScale); LienzoPanelMediators setZoomFactor(final double factor); void enable(); void disable(); @PreDestroy void destroy();  }