### Question:
AppclientCommandArguments { public char[] getPassword() { return password; } private  AppclientCommandArguments(); static AppclientCommandArguments newInstance(List<String> appclientCommandArgs); boolean isTextauth(); boolean isNoappinvoke(); boolean isUsage(); boolean isHelp(); String getUser(); char[] getPassword(); String getName(); String getTargetServer(); String getConfigFilePath(); String getMainclass(); List<String> getAppArgs();  }### Answer:
@Test public void checkPasswordInFile() { final Properties props = new Properties(); props.setProperty(AppclientCommandArguments.PASSWORD_FILE_PASSWORD_KEYWORD, EXPECTED_PASSWORD_IN_PASSWORD_FILE); try { final AppclientCommandArguments cmdArgs = prepareWithPWFile(props); final char[] pwInObject = cmdArgs.getPassword(); assertTrue("Password " + EXPECTED_PASSWORD_IN_PASSWORD_FILE + " in password file does not match password " + new String(pwInObject) + " returned from AppclientCommandArguments object", Arrays.equals(pwInObject, EXPECTED_PASSWORD_IN_PASSWORD_FILE.toCharArray())); } catch (Throwable t) { throw new RuntimeException(t); } }