### Question:
GeoPoint implements Comparable<GeoPoint>, Serializable { public static GeoPoint fromString(String geoPointString) { double[] coordinates = CoordinatesUtil.parseCoordinateString(geoPointString, 2); return new GeoPoint(coordinates[0], coordinates[1]); } 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 fromStringValidTest() { GeoPoint geoPoint = GeoPoint.fromString(LATITUDE + DELIMITER + LONGITUDE); Assert.assertEquals(LATITUDE, geoPoint.latitude, 0); Assert.assertEquals(LONGITUDE, geoPoint.longitude, 0); }