### Question:
Pelias { public Call<Result> place(String gid, Callback<Result> callback) { Call<Result> call = service.getPlace(gid); call.enqueue(callback); return call; } 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 place_shouldSendSearchRequestToServer() throws Exception { when(mock.getPlace(anyString())).thenReturn(new TestCall()); peliasWithMock.place("osm:venue:3669115471", callback); verify(mock).getPlace(eq("osm:venue:3669115471")); }