public void DoctorShouldPrescribeRightTreatment() { // arrange IDoctor testDoctor = new Orthopedist(); // act Treatment prescribedTreatment = testDoctor.PrescribeTreatment(new Diagnosis()); // assert Assert.AreSame(new Treatment() , prescribedTreatment); }
public void DoctorShouldReturnRightDiagnosis() { // arrange IDoctor testDoctor = new Orthopedist(); IPatient testPatient = new Patient(); testPatient.PatientComplaint.Symptoms.Add(Symptom.Headache); // act Diagnosis returnedDiagnosis = testDoctor.Diagnosticate(testPatient.PatientComplaint); // assert Assert.AreSame(new Diagnosis() , returnedDiagnosis); }
public void DoctorShouldReturnRightDiagnosis() { // arrange IDoctor testDoctor = new Orthopedist(); IPatient testPatient = new Patient(); testPatient.PatientComplaint.Symptoms.Add(Symptom.Headache); // act Diagnosis returnedDiagnosis = testDoctor.Diagnosticate(testPatient.PatientComplaint); // assert Assert.AreSame(new Diagnosis(), returnedDiagnosis); }