### Question:
UserDataRequest { public String getDevType() { return device.getDevType(); } 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 testGetDevType() { UserDataRequest userDataRequest = createUserDataRequest(); assertThat(userDataRequest.getDevType()).isEqualTo(device.getDevType()); }