GisFeatureGeography implements DistanceCalculator<GisFeatureGeography> { public double getLongitude() { return location.getX(); } private  GisFeatureGeography(); static GisFeatureGeography gisFeatureGeography(final Double longitude, final Double latitude); static GisFeatureGeography gisFeatureGeography(final Point location); GisFeatureGeography withLocation(final Point location); GisFeatureGeography withElevation(final Long elevation); GisFeatureGeography withGtopo30AverageElevation(final Long gtopo30AverageElevation); GisFeatureGeography withPopulation(final Long population); GisFeatureGeography withTimeZone(final DateTimeZone timeZone); @Override int hashCode(); @Override boolean equals(Object obj); Long getElevation(); Long getGtopo30AverageElevation(); Point getLocation(); double getLatitude(); double getLongitude(); Long getPopulation(); DateTimeZone getTimeZone(); double distance(GisFeatureGeography o, Unit<Length> unit); @Override String toString();  }
@Test public void shouldReturnLongitude() { Assert.assertEquals(-118.24368286132812d, losAngelesPplGisFeatureGeography().getLongitude(), 0.0001); }