### Question:
ParseGeoPoint implements Parcelable { @Override public boolean equals(Object obj) { if (obj == null || !(obj instanceof ParseGeoPoint)) { return false; } if (obj == this) { return true; } return ((ParseGeoPoint) obj).getLatitude() == latitude && ((ParseGeoPoint) obj).getLongitude() == longitude; } ParseGeoPoint();  ParseGeoPoint(double latitude, double longitude);  ParseGeoPoint(ParseGeoPoint point); protected  ParseGeoPoint(Parcel source);   ParseGeoPoint(Parcel source, ParseParcelDecoder decoder); void setLatitude(double latitude); double getLatitude(); void setLongitude(double longitude); double getLongitude(); double distanceInRadiansTo(ParseGeoPoint point); double distanceInKilometersTo(ParseGeoPoint point); double distanceInMilesTo(ParseGeoPoint point); static Task<ParseGeoPoint> getCurrentLocationInBackground(long timeout); static void getCurrentLocationInBackground(long timeout, LocationCallback callback); static Task<ParseGeoPoint> getCurrentLocationInBackground(long timeout, Criteria criteria); static void getCurrentLocationInBackground(long timeout, Criteria criteria,
      LocationCallback callback); @Override boolean equals(Object obj); @Override String toString(); @Override int describeContents(); @Override void writeToParcel(Parcel dest, int flags); final static Creator<ParseGeoPoint> CREATOR; }### Answer:
@Test public void testEquals() { ParseGeoPoint pointA = new ParseGeoPoint(30d, 50d); ParseGeoPoint pointB = new ParseGeoPoint(30d, 50d); ParseGeoPoint pointC = new ParseGeoPoint(45d, 45d); assertTrue(pointA.equals(pointB)); assertTrue(pointA.equals(pointA)); assertTrue(pointB.equals(pointA)); assertFalse(pointA.equals(null)); assertFalse(pointA.equals(true)); assertFalse(pointA.equals(pointC)); }