@Transactional(readOnly = true)
    public AttendeeScheduleResponse findSingleSchedule(String uuid, String attendeeName) {
        Meeting meeting = meetingRepository.findByUuid(uuid)
                .orElseThrow(() -> new MomoException(MeetingErrorCode.NOT_FOUND_MEETING));

        Attendee attendee = attendeeRepository.findByMeetingAndName(meeting, new AttendeeName(attendeeName))
                .orElseThrow(() -> new MomoException(AttendeeErrorCode.NOT_FOUND_ATTENDEE));

        List<Schedule> schedules = scheduleRepository.findAllByAttendee(attendee);
        return AttendeeScheduleResponse.of(attendee, DateTimesResponse.from(schedules));
    }
@DisplayName("참가자 스케줄시 약속이 존재하지 않으면 예외가 발생한다.")
    @Test
    void throwsIfNoAppointmentInParticipantSchedule() {
        createAttendeeSchedule(attendee);
        String givenUUID = "1234";
        String name = attendee.name();

        assertThatThrownBy(() -> scheduleService.findSingleSchedule(givenUUID, name))
                .isInstanceOf(MomoException.class)
                .hasMessage(MeetingErrorCode.NOT_FOUND_MEETING.message());
    }