final MockWebServer server = new MockWebServer();
MockResponse response = new MockResponse();
server.enqueue(response);
server.play();
Pelias pelias = Pelias.getPeliasWithEndpoint(server.getUrl("/").toString());
<BUG>pelias.suggest("test", "1", "2", callback);
</BUG>
RecordedRequest request = server.takeRequest();
assertThat(request.getPath()).contains("/autocomplete");
server.shutdown();

final MockWebServer server = new MockWebServer();
MockResponse response = new MockResponse();
server.enqueue(response);
server.play();
Pelias pelias = Pelias.getPeliasWithEndpoint(server.getUrl("/").toString());
pelias.suggest("test", 1.0, 2.0, callback);
RecordedRequest request = server.takeRequest();
assertThat(request.getPath()).contains("/autocomplete");
server.shutdown();
