@Test
  public void testBrooklynBridgeNYMarkers() throws Exception {
    try (LocalTestServerContext sc = new LocalTestServerContext(IMAGE)) {
      StaticMapsRequest req = StaticMapsApi.newRequest(sc.context, new Size(WIDTH, HEIGHT));
      req.center("Brooklyn Bridge, New York, NY");
      req.zoom(13);
      req.maptype(StaticMapType.roadmap);
      {
        Markers markers = new Markers();
        markers.color("blue");
        markers.label("S");
        markers.addLocation(new LatLng(40.702147, -74.015794));
        req.markers(markers);
      }
      {
        Markers markers = new Markers();
        markers.color("green");
        markers.label("G");
        markers.addLocation(new LatLng(40.711614, -74.012318));
        req.markers(markers);
      }
      {
        Markers markers = new Markers();
        markers.color("red");
        markers.label("C");
        markers.addLocation(new LatLng(40.718217, -73.998284));
        req.markers(markers);
      }

      req.await();

      sc.assertParamValue("640x480", "size");
      sc.assertParamValue("Brooklyn Bridge, New York, NY", "center");
      sc.assertParamValue("13", "zoom");
      sc.assertParamValue("roadmap", "maptype");

      List<String> expected = new ArrayList<>();
      expected.add("color:blue|label:S|40.70214700,-74.01579400");
      expected.add("color:green|label:G|40.71161400,-74.01231800");
      expected.add("color:red|label:C|40.71821700,-73.99828400");
      sc.assertParamValues(expected, "markers");
    }
  }
This encoded path matches the exact [MELBOURNE, SYDNEY] points.
src/test/java/com/google/maps/StaticMapsApiTest.java