public void setSendFullErrorException(boolean sendFullErrorException) {
        this.sendFullErrorException = sendFullErrorException;
    }
@Test
    void handleFlowableContentNotSupportedExceptionWithoutSendFullErrorException() throws Exception {
        testController.exceptionSupplier = () -> new FlowableContentNotSupportedException("other test content not supported");
        handlerAdvice.setSendFullErrorException(false);

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

        assertThatJson(body)
                .isEqualTo("{"
                        + "  message: 'Content is not supported',"
                        + "  exception: 'other test content not supported'"
                        + "}");

    }