### Question:
MapViewPosition extends Observable implements Persistable { public void zoomOut() { zoom((byte) -1); } MapViewPosition(DisplayModel displayModel); void animateTo(final LatLong pos); boolean animationInProgress(); void destroy(); synchronized LatLong getCenter(); synchronized BoundingBox getMapLimit(); synchronized MapPosition getMapPosition(); synchronized LatLong getPivot(); synchronized Point getPivotXY(byte zoomLevel); synchronized double getScaleFactor(); synchronized byte getZoomLevel(); synchronized byte getZoomLevelMax(); synchronized byte getZoomLevelMin(); @Override synchronized void init(PreferencesFacade preferencesFacade); void moveCenter(double moveHorizontal, double moveVertical); void moveCenterAndZoom(double moveHorizontal, double moveVertical, byte zoomLevelDiff); @Override synchronized void save(PreferencesFacade preferencesFacade); void setCenter(LatLong latLong); void setMapLimit(BoundingBox mapLimit); void setMapPosition(MapPosition mapPosition); void setPivot(LatLong pivot); void setScaleFactor(double scaleFactor); void setScaleFactorAdjustment(double adjustment); void setZoomLevel(byte zoomLevel); void setZoomLevelMax(byte zoomLevelMax); void setZoomLevelMin(byte zoomLevelMin); void zoom(byte zoomLevelDiff); void zoomIn(); void zoomOut();  }### Answer:
@Test public void zoomOutTest() { MapViewPosition mapViewPosition = new MapViewPosition(new DisplayModel()); mapViewPosition.setZoomLevel((byte) 1); Assert.assertEquals(1, mapViewPosition.getZoomLevel()); mapViewPosition.zoomOut(); Assert.assertEquals(0, mapViewPosition.getZoomLevel()); mapViewPosition.setZoomLevel((byte) 0); Assert.assertEquals(0, mapViewPosition.getZoomLevel()); mapViewPosition.zoomOut(); Assert.assertEquals(0, mapViewPosition.getZoomLevel()); }