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