### Question:
GeoPoint implements Comparable<GeoPoint>, Serializable { @Override public String toString() { StringBuilder stringBuilder = new StringBuilder(); stringBuilder.append("latitude="); stringBuilder.append(this.latitude); stringBuilder.append(", longitude="); stringBuilder.append(this.longitude); return stringBuilder.toString(); } GeoPoint(double latitude, double longitude); static GeoPoint fromString(String geoPointString); static double latitudeDistance(int meters); static double longitudeDistance(int meters, double latitude); @Override int compareTo(GeoPoint geoPoint); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); final double latitude; final double longitude; }### Answer:
@Test public void toStringTest() { GeoPoint geoPoint = new GeoPoint(LATITUDE, LONGITUDE); Assert.assertEquals(GEO_POINT_TO_STRING, geoPoint.toString()); }