@Test public void testDisable() { tested.disable(); verify(mediators, atLeastOnce()).disable(); verify(selector, times(1)).scheduleHide(); verify(mediators, times(1)).disable(); }
public void disable() { mediators.disable(); selector.scheduleHide(); }
LienzoPanelMediators { public void disable() { mediators.disable(); selector.scheduleHide(); } }
LienzoPanelMediators { public void disable() { mediators.disable(); selector.scheduleHide(); } @Inject  LienzoPanelMediators(final LienzoCanvasMediators mediators,
                                final ZoomLevelSelectorPresenter selector); }
LienzoPanelMediators { public void disable() { mediators.disable(); selector.scheduleHide(); } @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 disable() { mediators.disable(); selector.scheduleHide(); } @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();  }