@Test
public void v6SchemaJsonIdIsRecognized() {

    SchemaClient client = mock(SchemaClient.class);
    ByteArrayInputStream retval = new ByteArrayInputStream("{}".getBytes());
    when(client.get("http://example.org/schema/schema.json")).thenReturn(retval);
    v6Loader()
            .schemaJson(get("schemaWithIdV6"))
            .schemaClient(client)
            .build().load();
}