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, "질문", null, 1);
        questionRepository.save(question);

        OptionGroup optionGroup = new OptionGroup(question.getId(), 1, 2);
        optionGroupRepository.save(optionGroup);

        OptionItem optionItem = new OptionItem("선택지", optionGroup.getId(), 1, OptionType.CATEGORY);
        optionItemRepository.save(optionItem);

        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
        QuestionResponse questionResponse = templateResponse.sections().get(0).questions().get(0);
        assertAll(
                () -> assertThat(questionResponse.hasGuideline()).isFalse(),
                () -> assertThat(questionResponse.guideline()).isNull()
        );
    }