@Test
public void remotePointerResulion() {

    SchemaClient schemaClient = mock(SchemaClient.class);
    when(schemaClient.get("http://example.org/asd")).thenReturn(asStream("{}"));
    when(schemaClient.get("http://example.org/otherschema.json")).thenReturn(asStream("{}"));
    when(schemaClient.get("http://example.org/folder/subschemaInFolder.json")).thenReturn(
            asStream("{}"));
    SchemaLoader.load(get("remotePointerResolution"), schemaClient);
}