public void IsInvalid() { var item = new PathologyDto() { Name = string.Empty, }; Assert.IsFalse(item.IsValid()); }
public void IsValid() { var item = new PathologyDto() { Name = Guid.NewGuid().ToString(), Tag = new TagDto(TagCategory.Appointment) { Id = 14 }, }; Assert.IsTrue(item.IsValid()); }