Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
@Test public void shouldReturnPredictionsSuccessfully() throws Exception {
String queryToAutoComplete = "berlin";
PendingResult<AutocompletePredictionBuffer> result =
Places.GeoDataApi.getAutocompletePredictions(apiClient, queryToAutoComplete, null, null);
AutocompletePredictionBuffer predictions = result.await(3, SECONDS);
Status status = predictions.getStatus();
// more assertions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.