### Question:
UserDataRequest { public char[] getPassword() { return credentials.getPassword(); } UserDataRequest(Credentials credentials, String command, Device device); boolean checkHint(String key, boolean defaultValue); User getUser(); char[] getPassword(); DeviceId getDevId(); String getDevType(); String getCommand(); Credentials getCredentials(); Device getDevice(); @Override final int hashCode(); @Override final boolean equals(Object object); @Override final String toString();  }### Answer:
@Test public void testGetPasword() { UserDataRequest userDataRequest = createUserDataRequest(); assertThat(userDataRequest.getPassword()).isEqualTo(credentials.getPassword()); }