  @Test
  public void linksWithDAndResults() throws Exception {

    final String links = "{\"d\":{\"results\":[{\"uri\":\"http://somelink\"}]}}";
    JsonReader reader = new JsonReader(new InputStreamReader(createContentAsStream(links)));
    assertEquals(Arrays.asList("http://somelink"), new JsonLinkConsumer().readLinks(reader, null));
  }