public Timeslot getValidatedTimeslot(LocalTime other) {
        if (!isContainedWithin(other)) {
            throw new MomoException(ScheduleErrorCode.INVALID_SCHEDULE_TIMESLOT);
        }
        return Timeslot.from(other);
    }
@DisplayName("주어진 시간이 시간슬롯 인터벌에 포함되어 있으면 일치하는 타임슬롯을 반환한다.")
    @Test
    void successfulWhenContainingIntervalFully() {
        TimeslotInterval timeslotInterval = new TimeslotInterval(Timeslot.TIME_1000, Timeslot.TIME_1800);
        LocalTime other = Timeslot.TIME_1200.startTime();

        Timeslot timeslot = timeslotInterval.getValidatedTimeslot(other);

        assertThat(timeslot.startTime()).isEqualTo(other);
    }