Example #1
0
        public void IsInvalid()
        {
            var item = new FamilyDto()
            {
                Current = null,
            };

            Assert.IsFalse(item.IsValid());
        }
Example #2
0
        public void IsValid()
        {
            var item = new FamilyDto()
            {
                Current = new LightPatientDto()
                {
                },
            };

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