public void setSendFullErrorException(boolean sendFullErrorException) {
        this.sendFullErrorException = sendFullErrorException;
    }
@Test
    void handleUnknownExceptionWithoutSendFullErrorException() throws Exception {
        testController.exceptionSupplier = () -> new RuntimeException("Some unknown message");
        handlerAdvice.setSendFullErrorException(false);

        String body = mockMvc.perform(get("/"))
                .andExpect(status().isInternalServerError())
                .andReturn()
                .getResponse()
                .getContentAsString();

        assertThatJson(body)
                .isEqualTo("{"
                        + "  message: 'Internal server error',"
                        + "  exception: '${json-unit.any-string}'"
                        + "}");
        assertThatJson(body)
                .inPath("exception").asString().startsWith("Error with ID: ");
    }