@Test
public void testGetCenter2() {

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