public void GetsAppointments_GetsAssociatedAppointmentsFromDb_AppointmentList() { Tutor newTutor = new Tutor("Sean", "Miller", "*****@*****.**", "1234567890", 1, true, "Weekends", 25.00); newTutor.Save(); DateTime time = new DateTime(1111, 11, 11); Appointment newAppointment = new Appointment(newTutor.Id, 1, time, "123 ABC Street", "Xyz", "ZZ", "12345"); newAppointment.Save(); List <Appointment> expectedList = new List <Appointment> { newAppointment }; List <Appointment> actualList = newTutor.GetAppointments(); CollectionAssert.AreEqual(expectedList, actualList); }