@Test
  void okIfDecodeRootCauseHasNoMessage() throws Throwable {
    server.enqueue(new MockResponse().setBody("success!"));

    final TestInterfaceAsync api =
        new TestInterfaceAsyncBuilder()
            .decoder(
                (response, type) -> {
                  throw new RuntimeException();
                })
            .target("http://localhost:" + server.getPort());

    assertThrows(DecodeException.class, () -> unwrap(api.post()));
  }
The type of a parameter value may not be the desired type to encode as. Prefer the interface
type.
hc5/src/test/java/feign/hc5/AsyncApacheHttp5ClientTest.java