Beispiel #1
0
 public void TestPasswortWithLengthGraterThenMinimum()
 {
     model = new WithPassword {
         Password = "******"
     };
     Assert.IsTrue(IsValid(model));
 }
Beispiel #2
0
 public void TestPasswortWithMinimumLength()
 {
     model = new WithPassword {
         Password = "******"
     };
     Assert.IsTrue(IsValid(model));
 }
Beispiel #3
0
 public void TestNotBannedPassword()
 {
     model = new WithPassword {
         Password = "******"
     };
     Assert.IsTrue(IsValid(model));
 }
Beispiel #4
0
 public void TestTooShortPassword()
 {
     model = new WithPassword {
         Password = "******"
     };
     Assert.IsFalse(IsValid(model));
 }
Beispiel #5
0
 public void TestBannedPassword()
 {
     model = new WithPassword {
         Password = "******"
     };
     Assert.IsFalse(IsValid(model));
 }