예제 #1
0
 private void PatientRepositoryPatientExistsCanInsertAPatient()
 {
     var patientRep = new PatientRepository();
     var pat = Patient.NewPatient();
     pat.Pid = "1234567";
     patientRep.SaveOrUpdate(pat);
     Assert.IsTrue(pat.Id != Guid.Empty);
     Assert.IsTrue(pat.Pid != "");
 }