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

      StaticMapsRequest req = StaticMapsApi.newRequest(sc.context, new Size(WIDTH, HEIGHT));
      req.center("Google Sydney");
      req.zoom(16);
      ByteArrayInputStream bais = new ByteArrayInputStream(req.await().imageData);
      BufferedImage img = ImageIO.read(bais);

      sc.assertParamValue("640x480", "size");
      sc.assertParamValue("Google Sydney", "center");
      sc.assertParamValue("16", "zoom");

      assertNotNull(img);
      assertEquals(WIDTH, img.getWidth());
      assertEquals(HEIGHT, img.getHeight());
    }
  }
This encoded path matches the exact [MELBOURNE, SYDNEY] points.
src/test/java/com/google/maps/StaticMapsApiTest.java