public void setSendFullErrorException(boolean sendFullErrorException) {
        this.sendFullErrorException = sendFullErrorException;
    }
@Test
    void handleFlowableTaskAlreadyClaimedExceptionWithoutSendFullErrorException() throws Exception {
        testController.exceptionSupplier = () -> new FlowableTaskAlreadyClaimedException("task-2", "tester");
        handlerAdvice.setSendFullErrorException(false);

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

        assertThatJson(body)
                .isEqualTo("{"
                        + "  message: 'Task was already claimed',"
                        + "  exception: \"Task 'task-2' is already claimed by someone else.\""
                        + "}");

    }