public TemplateResponse mapToTemplateResponse(ReviewGroup reviewGroup, Template template) {
        List<SectionResponse> sectionResponses = template.getSectionIds()
                .stream()
                .map(templateSection -> mapToSectionResponse(templateSection, reviewGroup))
                .toList();

        return new TemplateResponse(
                template.getId(),
                reviewGroup.getReviewee(),
                reviewGroup.getProjectName(),
                sectionResponses
        );
    }
@Test
    void 섹션의_선택된_옵션이_필요없는_경우_제공하지_않는다() {
        // given
        Question question = new Question(true, QuestionType.TEXT, "질문", "가이드라인", 1);
        questionRepository.save(question);

        Section section = new Section(VisibleType.ALWAYS, List.of(question.getId()), null, "섹션명", "말머리", 1);
        sectionRepository.save(section);

        Template template = new Template(List.of(section.getId()));
        templateRepository.save(template);

        ReviewGroup reviewGroup = new ReviewGroup("리뷰이명", "프로젝트명", "reviewRequestCode", "groupAccessCode");
        reviewGroupRepository.save(reviewGroup);

        // when
        TemplateResponse templateResponse = templateMapper.mapToTemplateResponse(reviewGroup, template);

        // then
        SectionResponse sectionResponse = templateResponse.sections().get(0);
        assertThat(sectionResponse.onSelectedOptionId()).isNull();
    }