@Test public void testGeoIPWithLocation() {

    GeoIPCookie cookie = GeoIPCookieUnmarshaller.unmarshal("US:California:San Francisco:" + LATITUDE + ":" + LONGITUDE + ":v4");
    assertThat(cookie.country(), is("US"));
    assertThat(cookie.region(), is("California"));
    assertThat(cookie.city(), is("San Francisco"));
    assertThat(cookie.location(), is(notNullValue()));
    assertThat(cookie.location().getLatitude(), is(LATITUDE));
    assertThat(cookie.location().getLongitude(), is(LONGITUDE));
}