@Transactional
    public MeetingCreateResponse create(MeetingCreateRequest request) {
        Meeting meeting = saveMeeting(request.meetingName(), request.toMeetingStartTime(), request.toMeetingEndTime());
        AvailableDates meetingDates = new AvailableDates(request.toAvailableMeetingDates(), meeting);

        validateNotPast(meetingDates);
        availableDateRepository.saveAll(meetingDates.getAvailableDates());
        Attendee attendee = saveHostAttendee(meeting, request.hostName(), request.hostPassword());
        String token = jwtManager.generate(attendee.getId());

        return MeetingCreateResponse.from(meeting, attendee, meetingDates, token);
    }
@DisplayName("약속을 생성할 때 과거 날짜를 보내면 예외가 발생합니다.")
    @Test
    void throwExceptionWhenDatesHavePast() {
        //given
        setFixedClock();
        LocalDate today = LocalDate.now(clock);
        LocalDate yesterday = today.minusDays(1);
        MeetingCreateRequest request = new MeetingCreateRequest(
                "momoHost",
                "momo",
                "momoMeeting",
                List.of(yesterday.toString(), today.toString()),
                "08:00",
                "22:00"
        );

        //when //then
        assertThatThrownBy(() -> meetingService.create(request))
                .isInstanceOf(MomoException.class)
                .hasMessage(MeetingErrorCode.PAST_NOT_PERMITTED.message());
    }