@SuppressWarnings("resource")
  @Test
  void decodeLogicSupportsByteArray() throws Throwable {
    final byte[] expectedResponse = {12, 34, 56};
    server.enqueue(new MockResponse().setBody(new Buffer().write(expectedResponse)));

    final OtherTestInterfaceAsync api =
        newAsyncBuilder()
            .target(
                new HardCodedTarget<>(
                    OtherTestInterfaceAsync.class, "http://localhost:" + server.getPort()));

    assertThat(unwrap(api.binaryResponseBody())).containsExactly(expectedResponse);
  }
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