public void GetAllPatientWhenICUDoesntExist() { PatientDataRepository patientDataRepository = new PatientDataRepository(); var response = patientDataRepository.GetAllPatientsInTheICU(139); Assert.AreEqual(0, response.Count); }
public void GetAllPatientWhenPatientsArePresent() { PatientDataRepository patientDataRepository = new PatientDataRepository(); var response = patientDataRepository.GetAllPatientsInTheICU(1); Assert.AreEqual("ana", response[0].Name); Assert.AreEqual(6, response[0].Id); }