예제 #1
0
 public void IsInvalid_Patient()
 {
     var item = new PatientDto()
     {
         FirstName = string.Empty,
         LastName = string.Empty,
     };
     Assert.IsFalse(item.IsValid());
 }
예제 #2
0
 public void IsValid_Patient()
 {
     var item = new PatientDto()
     {
         FirstName = Guid.NewGuid().ToString(),
         LastName = Guid.NewGuid().ToString(),
     };
     Assert.IsTrue(item.IsValid());
 }