public void validate(CreateReviewAnswerRequest request) {
        validateNotContainingText(request);
        Question question = questionRepository.findById(request.questionId())
                .orElseThrow(() -> new SubmittedQuestionNotFoundException(request.questionId()));
        OptionGroup optionGroup = optionGroupRepository.findByQuestionId(question.getId())
                .orElseThrow(() -> new OptionGroupNotFoundByQuestionIdException(question.getId()));
        validateRequiredQuestion(request, question);
        validateOnlyIncludingProvidedOptionItem(request, optionGroup);
        validateCheckedOptionItemCount(request, optionGroup);
    }
@Test
    void 저장되지_않은_옵션그룹에_대해_응답하면_예외가_발생한다() {
        // given
        CreateReviewAnswerRequest request = new CreateReviewAnswerRequest(
                savedQuestion.getId(), List.of(1L), null
        );

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