### Question:
DirectoryUserDeviceLinkData { public String getCode() { return code; } @Deprecated  DirectoryUserDeviceLinkData(String code, String qrCodeUrl); @JsonCreator  DirectoryUserDeviceLinkData(@JsonProperty(value = "code", required = true) String code,
                                       @JsonProperty(value = "qrcode", required = true) String qrCodeUrl,
                                       @JsonProperty(value = "device_id", required = true) UUID deviceId); String getCode(); String getQrCodeUrl(); UUID getDeviceId(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void getCode() throws Exception { assertEquals(CODE, deviceAddResponse.getCode()); }