@Test public void testDeserialization() throws Exception { final UriResponse uriResponse = readObjectFromResource("/gdc/uriResponse.json", UriResponse.class); assertThat(uriResponse, is(notNullValue())); assertThat(uriResponse.getUri(), is("URI")); }
public String getUri() { return uri; }
UriResponse implements Serializable { public String getUri() { return uri; } }
UriResponse implements Serializable { public String getUri() { return uri; } @JsonCreator  UriResponse(@JsonProperty("uri") String uri); }
UriResponse implements Serializable { public String getUri() { return uri; } @JsonCreator  UriResponse(@JsonProperty("uri") String uri); String getUri(); @Override String toString(); }
UriResponse implements Serializable { public String getUri() { return uri; } @JsonCreator  UriResponse(@JsonProperty("uri") String uri); String getUri(); @Override String toString();  }