### Question:
Pelias { public Call<Result> suggest(String query, Callback<Result> callback) { return suggest(query, locationProvider.getLat(), locationProvider.getLon(), callback); } Pelias();  Pelias(PeliasService service);  Pelias(String url); void setRequestHandler(PeliasRequestHandler handler); void setEndpoint(String endpoint); void setDebug(boolean debug); Call<Result> suggest(String query, Callback<Result> callback); Call<Result> suggest(String query, String layers, String country, String sources,
      Callback<Result> callback); Call<Result> suggest(String query, double lat, double lon, Callback<Result> callback); Call<Result> search(String query, Callback<Result> callback); Call<Result> search(String query, BoundingBox box, Callback<Result> callback); Call<Result> search(String query, double lat, double lon, Callback<Result> callback); Call<Result> reverse(double lat, double lon, Callback<Result> callback); Call<Result> reverse(double lat, double lon, String sources, Callback<Result> callback); Call<Result> place(String gid, Callback<Result> callback); void setLocationProvider(PeliasLocationProvider locationProvider); String getEndpoint(); boolean getDebug(); static final String DEFAULT_SEARCH_ENDPOINT; }### Answer:
@Test public void suggest_getSuggest() throws Exception { when(mock.getSuggest(anyString(), anyDouble(), anyDouble())).thenReturn(new TestCall()); peliasWithMock.suggest("test", 1.0, 2.0, callback); verify(mock).getSuggest(eq("test"), eq(1.0), eq(2.0)); }