### Question:
Password { public static boolean longEnough(String password) { return password.length() >= 8; }  static String generateSalt(); static String hash(String password, String salt); static boolean longEnough(String password); static boolean containsUpperCase(String password); static boolean containsLowerCase(String password); static boolean containsDigit(String password); static boolean passwordMatches(StudentModel.Student student, String password); static boolean checkRequirements(String password, GridPane passwordVerifierGridPane);  }### Answer:
@Test public void emptyPassword() { Assert.assertFalse(Password.longEnough("")); }
@Test public void tooShort() { Assert.assertFalse(Password.longEnough("1234567")); }
@Test public void eightCharacters() { Assert.assertTrue(Password.longEnough("12345678")); }
@Test public void longEnough() { Assert.assertTrue(Password.longEnough("1234567890")); }