@Test
public void topLevelIdIsRecognized() {

    JsonValue obj = JsonValue.of(ResourceLoader.DEFAULT.readObj("testschemas.json").getJSONObject("schemaWithIdV6"));
    new LoadingState(CONFIG, emptyMap(), obj, obj, null, SchemaLocation.empty());
    SubschemaRegistry registry = new SubschemaRegistry(obj);
    JsonObject actual = registry.getById("http://example.org/schema/");
    assertSame(obj, actual);
}