source: class BargeJaxRsClientTest  {
  
    @ClassRule
    public static MuteJUL muteJUL;
  
    @Test
    public void returnsFutureWithServerResponseWhenAppendingEntriesGivenServerAnswers() throws Exception {
  
target:     BargeJaxRsClient bargeJaxRsClient = new BargeJaxRsClient(getBaseUri(),client().register(Jackson.customJacksonProvider()));
  
      CompletableFuture<AppendEntriesResponse> future = bargeJaxRsClient.appendEntries(Model.entries);
  
      assertThat(future.get(1, TimeUnit.SECONDS)).isEqualTo(Model.entriesResponse);
    }
  
  }