@Test
  void encodeLogicSupportsByteArray() throws Exception {
    final byte[] expectedRequest = {12, 34, 56};
    server.enqueue(new MockResponse());

    final OtherTestInterfaceAsync api =
        AsyncFeign.builder()
            .target(OtherTestInterfaceAsync.class, "http://localhost:" + server.getPort());

    final CompletableFuture<?> cf = api.binaryRequestBody(expectedRequest);

    assertThat(server.takeRequest()).hasBody(expectedRequest);

    checkCFCompletedSoon(cf);
  }
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