### Question:
MapPosition implements Serializable { @Override public String toString() { StringBuilder stringBuilder = new StringBuilder(); stringBuilder.append("geoPoint="); stringBuilder.append(this.geoPoint); stringBuilder.append(", zoomLevel="); stringBuilder.append(this.zoomLevel); return stringBuilder.toString(); } MapPosition(GeoPoint geoPoint, byte zoomLevel); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); final GeoPoint geoPoint; final byte zoomLevel; }### Answer:
@Test public void toStringTest() { MapPosition mapPosition = new MapPosition(GEO_POINT, ZOOM_LEVEL); Assert.assertEquals(MAP_POSITION_TO_STRING, mapPosition.toString()); }