@Test public void testEnable() { tested.enable(); verify(mediators, atLeastOnce()).enable(); verify(selector, atLeastOnce()).show(); verify(selector, never()).hide(); }
public void enable() { mediators.enable(); selector.show(); }
LienzoPanelMediators { public void enable() { mediators.enable(); selector.show(); } }
LienzoPanelMediators { public void enable() { mediators.enable(); selector.show(); } @Inject  LienzoPanelMediators(final LienzoCanvasMediators mediators,
                                final ZoomLevelSelectorPresenter selector); }
LienzoPanelMediators { public void enable() { mediators.enable(); selector.show(); } @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 void enable() { mediators.enable(); selector.show(); } @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();  }