@Test
public void encodeLogicSupportsByteArray() throws Exception {

  byte[] expectedRequest = {12, 34, 56};
  server.enqueue(new MockResponse());
  OtherTestInterface api =
      Feign.builder().target(OtherTestInterface.class, "http://localhost:" + server.getPort());
  api.binaryRequestBody(expectedRequest);
  assertThat(server.takeRequest())
      .hasBody(expectedRequest);
}