### Question:
WarehouseTask { public String getWarehouseUri() { return links.get(WAREHOUSE_LINK); } @JsonCreator private  WarehouseTask(@JsonProperty("links") Map<String, String> links); String getPollUri(); String getWarehouseUri(); String getWarehouseUserUri();  }### Answer:
@SuppressWarnings("deprecation") @Test public void testDeserializeInstance() throws Exception { final WarehouseTask warehouseTask = readObjectFromResource("/warehouse/warehouseTask-finished.json", WarehouseTask.class); assertThat(warehouseTask.getWarehouseUri(), is("/gdc/datawarehouse/instances/instanceId")); }