public boolean submitProcessingErrors(Message message) {
        return submitProcessingErrorsInternal(message, message.processingErrors());
    }
@Test
    public void submitProcessingErrors_nothingSubmittedAndMessageNotFilteredOut_ifMessageHasNoErrors() throws Exception {
        // given
        final Message msg = Mockito.mock(Message.class);
        when(msg.getMessageId()).thenReturn("msg-x");
        when(msg.supportsFailureHandling()).thenReturn(true);
        when(msg.processingErrors()).thenReturn(List.of());

        when(failureHandlingConfiguration.submitProcessingFailures()).thenReturn(true);
        when(failureHandlingConfiguration.keepFailedMessageDuplicate()).thenReturn(false);

        // when
        final boolean notFilterOut = underTest.submitProcessingErrors(msg);

        // then

        assertThat(notFilterOut).isTrue();

        verifyNoInteractions(failureSubmissionQueue);
    }