### Question:
MapViewPosition extends Observable implements Persistable { public void zoomIn() { 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 zoomInTest() { MapViewPosition mapViewPosition = new MapViewPosition(new DisplayModel()); Assert.assertEquals(0, mapViewPosition.getZoomLevel()); mapViewPosition.zoomIn(); Assert.assertEquals((byte) 1, mapViewPosition.getZoomLevel()); mapViewPosition.setZoomLevel(Byte.MAX_VALUE); Assert.assertEquals(Byte.MAX_VALUE, mapViewPosition.getZoomLevel()); mapViewPosition.zoomIn(); Assert.assertEquals(Byte.MAX_VALUE, mapViewPosition.getZoomLevel()); }