@Test
public void testGetCenter1() {

    LOG.info("testGetCenter1");
    final GeoPoint x1 = new GeoPoint(0.0, 0.0);
    final GeoPoint x2 = new GeoPoint(10.0, 0.0);
    final GeoPoint x3 = new GeoPoint(10.0, 10.0);
    final GeoPoint x4 = new GeoPoint(0.0, 10.0);
    final List<GeoPoint> p1 = Lists.asList(x1, new GeoPoint[]{x2, x3, x4});
    final GeoPolyLine poly1 = new GeoPolyLine(p1);
    Assert.assertEquals(new GeoPoint(5.0, 5.0), poly1.getCenter());
}