### Question:
LienzoCanvasMediators { public void setMaxScale(final double maxScale) { mediators.getZoomMediator().setMaxScale(maxScale); mediators.getPreviewMediator().setMaxScale(maxScale); } @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 testSetMaxScale() { tested.setMaxScale(3d); verify(zoomMediator, times(1)).setMaxScale(eq(3d)); verify(previewMediator, times(1)).setMaxScale(eq(3d)); }