public void HaveAnOwner() { var client = new Client(); //var patient = new Patient(client); //Assert.AreEqual(client, patient.Owner); }
public Patient(Client owner) : this() { ClientId = owner.Id; Owner = owner; PreferredDoctorId = Owner.PreferredDoctorId; }
public void HavePreferredDoctorDefaultToClientPreferredDoctor() { var client = new Client(); //var doctor = new Doctor(); //client.PreferredDoctorId = doctor.Id; //var patient = new Patient(client); //Assert.AreEqual(client.PreferredDoctorId, patient.PreferredDoctorId); }