@SuppressWarnings("deprecation") @Test public void testDeserialization() throws Exception { final LinkEntries linkEntries = readObjectFromResource("/gdc/linkEntries.json", LinkEntries.class); assertThat(linkEntries, is(notNullValue())); assertThat(linkEntries.getEntries(), hasSize(1)); assertThat(linkEntries.getEntries().get(0), is(notNullValue())); assertThat(linkEntries.getEntries().get(0).getUri(), is("URI")); assertThat(linkEntries.getEntries().get(0).getCategory(), is("tasks-status")); }
protected List<LinkEntry> getEntries() { return entries; }
LinkEntries { protected List<LinkEntry> getEntries() { return entries; } }
LinkEntries { protected List<LinkEntry> getEntries() { return entries; } @JsonCreator protected  LinkEntries(@JsonProperty("entries") List<LinkEntry> entries); }
LinkEntries { protected List<LinkEntry> getEntries() { return entries; } @JsonCreator protected  LinkEntries(@JsonProperty("entries") List<LinkEntry> entries); @Override String toString(); }
LinkEntries { protected List<LinkEntry> getEntries() { return entries; } @JsonCreator protected  LinkEntries(@JsonProperty("entries") List<LinkEntry> entries); @Override String toString();  }