示例#1
0
        public void MOCKBooking()
        {
            int             bookingID       = 12;
            int             timeSlotID      = 2;
            int             userID          = 3;
            AppointmentType appointmentType = AppointmentType.GENERAL;

            var booking = new MOCKBooking(bookingID, timeSlotID, userID, appointmentType);

            Assert.AreEqual(bookingID, booking.GetBookingID());
            Assert.AreEqual(timeSlotID, booking.GetTimeSlotID());
            Assert.AreEqual(userID, booking.GetUserID());
            Assert.AreEqual(appointmentType, booking.GetAppontmentType());
        }