@Test(expected = IllegalArgumentException.class)
  public void testValidateRequest_noSize() throws Exception {
    try (LocalTestServerContext sc = new LocalTestServerContext(IMAGE)) {
      StaticMapsRequest req = StaticMapsApi.newRequest(sc.context, null);
      req.center("Google Sydney");
      req.zoom(16);
      req.await();
    }
  }
This encoded path matches the exact [MELBOURNE, SYDNEY] points.
src/test/java/com/google/maps/StaticMapsApiTest.java