public void IsInvalid_NoDocument()
 {
     var item = new PrescriptionDocumentDto()
     {
         Title = Guid.NewGuid().ToString(),
     };
     Assert.IsFalse(item.IsValid());
 }
 public void IsValid()
 {
     var item = new PrescriptionDocumentDto()
     {
         Title = Guid.NewGuid().ToString(),
     };
     item.Prescriptions.Add(new PrescriptionDto());
     Assert.IsTrue(item.IsValid());
 }
 public void IsInvalid_EmptyName()
 {
     var item = new PrescriptionDocumentDto()
     {
         Title = string.Empty,
     };
     item.Prescriptions.Add(new PrescriptionDto());
     Assert.IsFalse(item.IsValid());
 }