Example #1
0
        public void IsValid_Light()
        {
            var item = new LightPracticeDto()
            {
                Name = Guid.NewGuid().ToString(),
            };

            Assert.IsTrue(item.IsValid());
        }
Example #2
0
        public void IsInvalid_Light()
        {
            var item = new LightPracticeDto()
            {
                Name = string.Empty,
            };

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