@Test(expected = IllegalStateException.class)
public void getJobsRecommendationsReusingCallSpecShouldThrowException() throws Exception {

    server.enqueue(new MockResponse().setBody(file("recommended_jobs.json")));
    CallSpec<List<PartialJob>, HttpError> spec = resource.getJobsRecommendationsForUser("some_id");
    spec.execute();
    spec.execute();
}