public void Dispose() { Appointment.DeleteAll(); Doctor.DeleteAll(); Patient.DeleteAll(); }
// [Fact] // public void Test_GetDoctors_RetrievesAllDoctorsWithSpecialty() // { // Doctor testDoctor = new Doctor("Household chores"); // testDoctor.Save(); // // Patient firstPatient = new Patient("Mow the lawn", testDoctor.GetId()); // firstPatient.Save(); // Patient secondPatient = new Patient("Do the dishes", testDoctor.GetId()); // secondPatient.Save(); // // // List<Patient> testPatientList = new List<Patient> {firstPatient, secondPatient}; // List<Patient> resultPatientList = testDoctor.GetPatients(); // // Assert.Equal(testPatientList, resultPatientList); // } public void Dispose() { // Patient.DeleteAll(); Doctor.DeleteAll(); }
public void Dispose() { Doctor.DeleteAll(); }