### Question:
LienzoCanvasMediators { public void disable() { keyEventHandler.setEnabled(false); clear(); } @Inject  LienzoCanvasMediators(final KeyEventHandler keyEventHandler,
                                 final ClientTranslationService translationService,
                                 final LienzoCanvasNotification notification,
                                 final EditorContextProvider editorContextProvider);   LienzoCanvasMediators(final KeyEventHandler keyEventHandler,
                          final ClientTranslationService translationService,
                          final LienzoCanvasNotification notification,
                          final Function<LienzoBoundsPanel, PanelMediators> mediatorsBuilder); void init(final Supplier<LienzoCanvas> canvas); void setMinScale(final double minScale); void setMaxScale(final double maxScale); void setZoomFactor(final double factor); void setScaleAboutPoint(final boolean scaleAboutPoint); void enable(); void disable(); @PreDestroy void destroy();  }### Answer:
@Test public void testDisable() { tested.disable(); verify(mediators, times(1)).disablePreview(); verify(cursor, times(1)).accept(eq(LienzoCanvasMediators.CURSOR_DEFAULT)); verify(notification, times(1)).hide(); }