@Test public void thesePasswordsAreValid() { Passwords.check("123456"); Passwords.check("abcdefg"); Passwords.check("_-)!ç!!è§("); }
public static void check(String password) { Optional<String> none = Optional.empty(); check(password, none); }
Passwords { public static void check(String password) { Optional<String> none = Optional.empty(); check(password, none); } }
Passwords { public static void check(String password) { Optional<String> none = Optional.empty(); check(password, none); }  }
Passwords { public static void check(String password) { Optional<String> none = Optional.empty(); check(password, none); }  static String checkAndHash(String password); static String checkAndHash(String password, String regex); static void check(String password); static void check(String password, Optional<String> regexOpt); static String random(); static String hash(String password); }
Passwords { public static void check(String password) { Optional<String> none = Optional.empty(); check(password, none); }  static String checkAndHash(String password); static String checkAndHash(String password, String regex); static void check(String password); static void check(String password, Optional<String> regexOpt); static String random(); static String hash(String password); static final String PASSWORD_DEFAULT_REGEX; }