@Test
public void getJobsRecommendationsWithPagination() throws Exception {

    server.enqueue(new MockResponse().setBody(file("recommended_jobs.json")));
    server.enqueue(new MockResponse().setBody(file("recommended_jobs.json")));
    CallSpec<List<PartialJob>, HttpError> spec = resource.getJobsRecommendationsForUser("some_id");
    spec.execute();
    CallSpec<List<PartialJob>, HttpError> clonedSpec = spec.clone();
    Response<List<PartialJob>, HttpError> response = clonedSpec.queryParam("limit", 10)
          .queryParam("offset", 1)
          .execute();
    assertThat(response.body().get(0).id()).isEqualTo("61723_4cae01");
}