@SuppressWarnings("resource")
@Test
public void decodeLogicSupportsByteArray() throws Throwable {

  byte[] expectedResponse = {12, 34, 56};
  server.enqueue(new MockResponse().setBody(new Buffer().write(expectedResponse)));
  OtherTestInterfaceAsync api = AsyncFeign.asyncBuilder().target(OtherTestInterfaceAsync.class,
      "http://localhost:" + server.getPort());
  assertThat(unwrap(api.binaryResponseBody())).containsExactly(expectedResponse);
}