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

    URL url = new URL(JSON_SCHEMA_URL);
    JsonNode node = (new JsonReferenceProcessor()).process(url);
    ObjectMapper mapper = new ObjectMapper();
    File outFile = new File("out.json");
    mapper.writeValue(outFile, node);
    // expecting the output to be of a certain length
    assertThat(outFile.length(), greaterThan(JSON_SCHEMA_LENGTH));
}