### Question:
AuthenticationHelper { public static boolean changePassword(String userName, String newPassword) { LOGGER.entering(userName, newPassword.replaceAll(".", "*")); boolean changeSucceeded = false; File authFile = new File(AUTH_FILE_LOCATION); try { authFile.delete(); authFile.createNewFile(); createAuthFile(authFile, userName, newPassword); changeSucceeded = true; } catch (Exception e) { changeSucceeded = false; } LOGGER.exiting(changeSucceeded); return changeSucceeded; } private  AuthenticationHelper(); static boolean authenticate(String userName, String userPassword); static boolean changePassword(String userName, String newPassword); static byte[] hashData(String userName, String password);  }### Answer:
@Test(dependsOnMethods = "testAuthentication") public void testPasswordChange() { boolean isPasswordChanged = AuthenticationHelper.changePassword("admin", "dummy"); assertTrue(isPasswordChanged); }