Example #1
0
        public void a_blank_model_is_invalid()
        {
            var vm = new AlternativeBusinessRepresentativeViewModel();

            vm.Validate();

            Assert.AreEqual(false, vm.IsValid);
        }
Example #2
0
        public void a_complete_model_is_valid()
        {
            model.Validate();

            Assert.AreEqual(true, model.IsValid);
        }