|
@ -8,5 +8,8 @@ class PasswordValidatorTest { |
|
|
void validate() { |
|
|
void validate() { |
|
|
PasswordValidator passwordValidator = new PasswordValidator(); |
|
|
PasswordValidator passwordValidator = new PasswordValidator(); |
|
|
assertFalse(passwordValidator.validate("")); |
|
|
assertFalse(passwordValidator.validate("")); |
|
|
|
|
|
|
|
|
|
|
|
// test minimum password length |
|
|
|
|
|
assertTrue(passwordValidator.validate("abcdef")); |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |