@Test
  public void testBostonToConcordViaCharlestownAndLexingtonLatLng() throws Exception {
    try (LocalTestServerContext sc =
        new LocalTestServerContext("{\"routes\": [{}],\"status\": \"OK\"}")) {
      DirectionsApi.newRequest(sc.context)
          .origin("Boston,MA")
          .destination("Concord,MA")
          .waypoints(new LatLng(42.379322, -71.063384), new LatLng(42.444303, -71.229087))
          .await();

      sc.assertParamValue("Boston,MA", "origin");
      sc.assertParamValue("Concord,MA", "destination");
      sc.assertParamValue("42.37932200,-71.06338400|42.44430300,-71.22908700", "waypoints");
    }
  }
Boston to Concord, via Charlestown and Lexington, but using exact latitude and longitude
coordinates for the waypoints.

<p>{@code
http://maps.googleapis.com/maps/api/directions/json?origin=Boston,MA&destination=Concord,MA&waypoints=42.379322,-71.063384|42.444303,-71.229087}
src/test/java/com/google/maps/DirectionsApiTest.java