public void validate(CreateReviewAnswerRequest request) {
        Question question = questionRepository.findById(request.questionId())
                .orElseThrow(() -> new SubmittedQuestionNotFoundException(request.questionId()));
        validateNotIncludingOptions(request);
        validateQuestionRequired(question, request);
        validateLength(request);
    }
@Test
    void 필수_텍스트형_질문에_응답을_하지_않으면_예외가_발생한다() {
        // given
        Question savedQuestion
                = questionRepository.save(new Question(true, QuestionType.TEXT, "질문", "가이드라인", 1));
        CreateReviewAnswerRequest request = new CreateReviewAnswerRequest(savedQuestion.getId(), null, null);

        // when, then
        assertThatCode(() -> createTextAnswerRequestValidator.validate(request))
                .isInstanceOf(RequiredQuestionNotAnsweredException.class);
    }