LoadingState { SchemaException createSchemaException(String message) { return new SchemaException(locationOfCurrentObj(), message); } LoadingState(LoaderConfig config,
        Map<String, ReferenceKnot> pointerSchemas,
        Object rootSchemaJson,
        Object schemaJson,
        URI parentScopeId,
        SchemaLocation pointerToCurrentObj);   LoadingState(LoaderConfig config,
            Map<String, ReferenceKnot> pointerSchemas,
            Object rootSchemaJson,
            Object schemaJson,
            URI parentScopeId,
            SchemaLocation pointerToCurrentObj,
            Map<JsonValue, SubschemaRegistry> subschemaRegistries);   }
@Test public void testCreateSchemaException() { LoadingState subject = emptySubject(); SchemaException actual = subject.createSchemaException("message"); assertEquals("#: message", actual.getMessage()); assertEquals(JSONPointer.builder().build().toURIFragment(), actual.getSchemaLocation()); }