public void Alphabet() { var vm = new DigitModel { Password = "******" }; var validations = vm.Validate(vm.Password, _password); validations.Print(_output); Assert.Collection(validations, v => v.ErrorMessage = "Digit is required"); }
public void Mix() { var vm = new DigitModel { Password = "******" }; var validations = vm.Validate(vm.Password, _password); validations.Print(_output); Assert.Empty(validations); }
public void Numeric() { var vm = new DigitModel { Password = "******" }; var validations = vm.Validate(vm.Password, _password); validations.Print(_output); //Assert.Collection(validations, v=>v.ErrorMessage = "Digit is required"); Assert.Empty(validations); }