//assert ID
assertEquals(contentItem.getUri(), ci.getUri());
//assert metadata
MGraph copy = new SimpleMGraph();
copy.addAll(contentItem.getMetadata());
assertTrue(copy.removeAll(ci.getMetadata()));
assertTrue(copy.isEmpty());
//assert Blob
assertEquals(contentItem.getBlob().getMimeType(), ci.getBlob().getMimeType());
String content = IOUtils.toString(contentItem.getStream(),"UTF-8");
String readContent = IOUtils.toString(ci.getStream(), "UTF-8");