@Test
  void customDecoder() throws Exception {
    final UpperZoneJSONAdapter upperZoneAdapter = new UpperZoneJSONAdapter();

    MoshiDecoder decoder = new MoshiDecoder(Collections.singleton(upperZoneAdapter));

    List<Zone> zones = new LinkedList<>();
    zones.add(new Zone("DENOMINATOR.IO."));
    zones.add(new Zone("DENOMINATOR.IO.", "ABCD"));

    Response response =
        Response.builder()
            .status(200)
            .reason("OK")
            .headers(Collections.emptyMap())
            .request(
                Request.create(
                    Request.HttpMethod.GET, "/api", Collections.emptyMap(), null, Util.UTF_8))
            .body(zonesJson, UTF_8)
            .build();

    assertThat(decoder.decode(response, UpperZoneJSONAdapter.class)).isEqualTo(zones);
  }
Enabled via {@link feign.Feign.Builder#dismiss404()}
moshi/src/test/java/feign/moshi/MoshiDecoderTest.java