@Test
public void testProcessURL() throws IOException, JsonReferenceException {

    URL url = new URL("http://localhost:8080/ref.json");
    JsonNode node = (new JsonReferenceProcessor()).process(url);
    ObjectMapper mapper = new ObjectMapper();
    String json = mapper.writeValueAsString(node);
    assertThat(json, equalTo("{\"q\":{\"a\":3}}"));
}