@Test
public void errorInCompletableLoggingTest() throws Exception {

    // Do
    String systemOut = tapSystemOut(() -> {
        final CompletableFuture<List<TextMessage>> returnValue = new CompletableFuture<>();
        target.accept(returnValue);
        returnValue.completeExceptionally(
                new GeneralLineMessagingException("EXCEPTION HAPPEN!", null, null));
    });
    // Verify
    assertThat(systemOut)
            .contains("EXCEPTION HAPPEN!");
}