@Test
public void getTypedObjectFromJsonldTest() {

    JSONObject expected = JSONArray.fromObject(expectedTypedJsonld).getJSONObject(0);
    String jsonld = "[{'@graph':[" + expected.toString() + "]}]";
    assertEquals(expected, RestUtils.getTypedObjectFromJsonld(jsonld, "urn:test"));
}