public void validate_default() { StepViewModel viewModel = new StepViewModel(); var result = viewModel.Validate(null); Assert.True(0 < result.Count()); }
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()); }