@Test
public void testEncode() throws Exception
{

    assertEquals("_p~iF~ps|U", WebHelper.encodePolyline(
            Helper.createPointList(38.5, -120.2)));
    assertEquals("_p~iF~ps|U_ulLnnqC_mqNvxq`@", WebHelper.encodePolyline(
            Helper.createPointList(38.5, -120.2, 40.7, -120.95, 43.252, -126.453)));
}