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