### Question:
ZoomToMouseZoomer { public void zoomOutView(ViewControlTranslator viewer, MapContext<DynamicViewer> mapManager, InputEvent event) { zoom(viewer, mapManager, event, false); }  void zoomInView(ViewControlTranslator viewer, MapContext<DynamicViewer> mapManager, InputEvent event); void zoomOutView(ViewControlTranslator viewer, MapContext<DynamicViewer> mapManager, InputEvent event);  }### Answer:
@Test public void testZoomOutView() { EasyMockSupport support = new EasyMockSupport(); MockAbstractviewerControlTranslator viewer = new MockAbstractviewerControlTranslator(); Vector2i previousPos = new Vector2i(75, 75); MapManager mapManager = createMapManager(support, previousPos); support.replayAll(); ZoomToMouseZoomer zoomer = new ZoomToMouseZoomer(); MouseEvent event = new MouseEvent(new JPanel(), 0, 0, 0, ourMousePos.getX(), ourMousePos.getY(), 1, false); zoomer.zoomOutView(viewer, mapManager, event); assertEquals(event, viewer.getZoomOutEvent()); assertEquals(ourMousePos, viewer.getMoveTo()); assertEquals(previousPos, viewer.getMoveFrom()); support.verifyAll(); }