@Test
  public void testGetSydneyLatLngStaticMap() throws Exception {
    try (LocalTestServerContext sc = new LocalTestServerContext(IMAGE)) {

      StaticMapsRequest req = StaticMapsApi.newRequest(sc.context, new Size(WIDTH, HEIGHT));
      req.center(SYDNEY);
      req.zoom(16);
      req.await();

      sc.assertParamValue("640x480", "size");
      sc.assertParamValue("-33.86880000,151.20930000", "center");
      sc.assertParamValue("16", "zoom");
    }
  }
This encoded path matches the exact [MELBOURNE, SYDNEY] points.
src/test/java/com/google/maps/StaticMapsApiTest.java