@Test
  void overrideDecoder() {
    server.enqueue(new MockResponse().setBody("success!"));

    String url = "http://localhost:" + server.getPort();
    Decoder decoder = (response, type) -> "fail";

    TestInterface api = Feign.builder().decoder(decoder).target(TestInterface.class, url);
    assertThat(api.decodedPost()).isEqualTo("fail");

    assertThat(server.getRequestCount()).isEqualTo(1);
  }
Shows exception handling isn't required to coerce 204 to null or empty
core/src/test/java/feign/FeignBuilderTest.java