@SuppressWarnings("deprecation")
  private Response responseWithText(String text) {
    return Response.builder()
        .body(text, Util.UTF_8)
        .status(200)
        .request(Request.create(HttpMethod.GET, "/api", Collections.emptyMap(), null, Util.UTF_8))
        .headers(new HashMap<>())
        .build();
  }
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