@Test public void testFromToWithDepartureTime() { assertThat(this.calls.fromToWithDepartureTime("start", "ende", TravelMode.DRIVING, new DateTime()).length, equalTo(0)); }
public DirectionsRoute[] fromToWithDepartureTime(String origin, String destination, TravelMode mode, ReadableInstant departureTime) { return errorHandling(new DirectionsApiRequest(this.context).origin(origin).destination(destination).mode(mode) .departureTime(departureTime).alternatives(true).trafficModel(TrafficModel.BEST_GUESS)); }
DirectionsApiCalls { public DirectionsRoute[] fromToWithDepartureTime(String origin, String destination, TravelMode mode, ReadableInstant departureTime) { return errorHandling(new DirectionsApiRequest(this.context).origin(origin).destination(destination).mode(mode) .departureTime(departureTime).alternatives(true).trafficModel(TrafficModel.BEST_GUESS)); } }
DirectionsApiCalls { public DirectionsRoute[] fromToWithDepartureTime(String origin, String destination, TravelMode mode, ReadableInstant departureTime) { return errorHandling(new DirectionsApiRequest(this.context).origin(origin).destination(destination).mode(mode) .departureTime(departureTime).alternatives(true).trafficModel(TrafficModel.BEST_GUESS)); }  }
DirectionsApiCalls { public DirectionsRoute[] fromToWithDepartureTime(String origin, String destination, TravelMode mode, ReadableInstant departureTime) { return errorHandling(new DirectionsApiRequest(this.context).origin(origin).destination(destination).mode(mode) .departureTime(departureTime).alternatives(true).trafficModel(TrafficModel.BEST_GUESS)); }  @PostConstruct void init(); DirectionsRoute[] fromTo(String origin, String destination, TravelMode mode); DirectionsRoute[] fromToWithArrivalTime(String origin, String destination, TravelMode mode,
			ReadableInstant arrivalTime); DirectionsRoute[] fromToWithDepartureTime(String origin, String destination, TravelMode mode,
			ReadableInstant departureTime); }
DirectionsApiCalls { public DirectionsRoute[] fromToWithDepartureTime(String origin, String destination, TravelMode mode, ReadableInstant departureTime) { return errorHandling(new DirectionsApiRequest(this.context).origin(origin).destination(destination).mode(mode) .departureTime(departureTime).alternatives(true).trafficModel(TrafficModel.BEST_GUESS)); }  @PostConstruct void init(); DirectionsRoute[] fromTo(String origin, String destination, TravelMode mode); DirectionsRoute[] fromToWithArrivalTime(String origin, String destination, TravelMode mode,
			ReadableInstant arrivalTime); DirectionsRoute[] fromToWithDepartureTime(String origin, String destination, TravelMode mode,
			ReadableInstant departureTime);  }