예제 #1
0
 public void IdShouldRouteToEhrId()
 {
     var ehr = new EhrRoot();
     Assert.IsNullOrEmpty(ehr.Id);
     var id = Guid.NewGuid().ToString();
     ehr.Id = id;
     Assert.AreEqual(id, ehr.Id);
 }
예제 #2
0
 public void ListsAreNotNull()
 {
     var ehr = new EhrRoot();
     Assert.IsNotNull(ehr.Compositions);
     Assert.IsNotNull(ehr.Contributions);
 }