public void IsValid() { var item = new ReputationDto() { Name = Guid.NewGuid().ToString(), }; Assert.IsTrue(item.IsValid()); }
public void IsInvalid() { var item = new ReputationDto() { Name = string.Empty, }; Assert.IsFalse(item.IsValid()); }