@Test
public void getJobsRecommendations() throws Exception {

    server.enqueue(new MockResponse().setBody(file("recommended_jobs.json")));
    Response<List<PartialJob>, HttpError> response = resource.getJobsRecommendationsForUser("some_id").execute();
    // If no exception was thrown then the spec is build correctly.
    assertThat(response.body().get(0).id()).isEqualTo("61723_4cae01");
    assertThat(response.body().get(0).contact().jobCompany().name()).isEqualTo("Rails Heroes");
}