Пример #1
0
        public void validate_default()
        {
            StepViewModel viewModel = new StepViewModel();
            var           result    = viewModel.Validate(null);

            Assert.True(0 < result.Count());
        }
Пример #2
0
        public void validate_StepIndicator()
        {
            List <StepIndicatorViewModel> stepIndicators = new List <StepIndicatorViewModel>()
            {
                new StepIndicatorViewModel()
            };
            StepViewModel viewModel = new StepViewModel()
            {
                StepIndicators = stepIndicators
            };
            var result = viewModel.Validate(null);

            Assert.True(0 < result.Count());
        }