Exemplo n.º 1
0
 public void IsValid()
 {
     var item = new TagDto(TagCategory.Appointment)
     {
         Name = Guid.NewGuid().ToString(),
     };
     Assert.IsTrue(item.IsValid());
 }
Exemplo n.º 2
0
 public void IsInvalid()
 {
     var item = new TagDto(TagCategory.Appointment)
     {
         Name = string.Empty,
     };
     Assert.IsFalse(item.IsValid());
 }
Exemplo n.º 3
0
        public void IsValid()
        {
            var item = new TagDto(TagCategory.Appointment)
            {
                Name = Guid.NewGuid().ToString(),
            };

            Assert.IsTrue(item.IsValid());
        }
Exemplo n.º 4
0
        public void IsInvalid()
        {
            var item = new TagDto(TagCategory.Appointment)
            {
                Name = string.Empty,
            };

            Assert.IsFalse(item.IsValid());
        }