@Test
public void returnsFutureWithServerResponseWhenRequestingVoteGivenServerAnswers() throws Exception {

  BargeJaxRsClient bargeJaxRsClient = new BargeJaxRsClient(getBaseUri(),client().register(Jackson.customJacksonProvider()));
  CompletableFuture<RequestVoteResponse> future = bargeJaxRsClient.requestVote(Model.vote);
  assertThat(future.get(1, TimeUnit.SECONDS)).isEqualTo(Model.voteResponse);
}