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

    final OtherTestInterfaceAsync api =
        newAsyncBuilder()
            .encoder(new Encoder.Default())
            .target(
                new HardCodedTarget<>(
                    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.
okhttp/src/test/java/feign/okhttp/OkHttpClientAsyncTest.java