@Test
  void encodesIgnoringErrorsWithEventHandler() throws Exception {
    JAXBContextFactory jaxbContextFactory =
        new JAXBContextFactory.Builder()
            .withMarshallerSchema(getMockIntObjSchema())
            .withMarshallerEventHandler(event -> true)
            .build();

    Encoder encoder = new JAXBEncoder(jaxbContextFactory);

    RequestTemplate template = new RequestTemplate();
    encoder.encode(new MockIntObject(), MockIntObject.class, template);
    assertThat(template)
        .hasBody(
            """
            <?xml version="1.0" encoding="UTF-8"\
             standalone="yes"?><mockIntObject/>\
            """);
  }
Enabled via {@link feign.Feign.Builder#dismiss404()}
jaxb/src/test/java/feign/jaxb/JAXBCodecTest.java