@Test
public void testUnwrapCompletionExceptionWrapped() {

    Throwable exception = new IllegalStateException("testWrapped");
    Throwable wrap = new CompletionException(new CompletionException(exception));
    assertThat(HttpUtils.unwrapCompletionException(wrap)).isEqualTo(exception);
}