@Test public void testGetGeometryObject() { Point p = new Point(new LatLng(0, 50)); assertEquals(new LatLng(0, 50), p.getGeometryObject()); try { new Point(null); fail(); } catch (IllegalArgumentException e) { assertEquals("Coordinates cannot be null", e.getMessage()); } }
public LatLng getGeometryObject() { return mCoordinates; }
Point implements Geometry { public LatLng getGeometryObject() { return mCoordinates; } }
Point implements Geometry { public LatLng getGeometryObject() { return mCoordinates; } Point(LatLng coordinates); }
Point implements Geometry { public LatLng getGeometryObject() { return mCoordinates; } Point(LatLng coordinates); String getGeometryType(); LatLng getGeometryObject(); @Override String toString(); }
Point implements Geometry { public LatLng getGeometryObject() { return mCoordinates; } Point(LatLng coordinates); String getGeometryType(); LatLng getGeometryObject(); @Override String toString();  }