@Test
  void notFoundDecodesToNull() throws Exception {
    Response response =
        Response.builder()
            .status(404)
            .reason("NOT FOUND")
            .request(
                Request.create(HttpMethod.GET, "/api", Collections.emptyMap(), null, Util.UTF_8))
            .headers(Collections.emptyMap())
            .build();
    assertThat(
            (byte[])
                new SOAPDecoder(new JAXBContextFactory.Builder().build())
                    .decode(response, byte[].class))
        .isEmpty();
  }
Enabled via {@link feign.Feign.Builder#dismiss404()}
soap-jakarta/src/test/java/feign/soap/SOAPCodecTest.java