}
@Test
public void reifications() {
MGraph mGraph = new SimpleMGraph();
com.hp.hpl.jena.graph.Graph graph = new JenaGraph(mGraph);
//Model memModel = ModelFactory.createDefaultModel();
Model model = ModelFactory.createModelForGraph(graph);
model.add(RDFS.Resource, RDF.type, RDFS.Resource);
Resource bnode = model.createResource();
model.add(bnode, RDF.type, RDF.Statement);
model.add(bnode, RDF.subject, RDFS.Resource);
model.add(bnode, RDF.predicate, RDF.type);
model.add(bnode, RDF.object, RDFS.Resource);
model.add(bnode, RDFS.comment, "we knew that before");
StmtIterator stmts = model.listStatements(RDFS.Resource, null, (RDFNode)null);
Statement returnedStmt = stmts.nextStatement();
RSIterator rsIterator = returnedStmt.listReifiedStatements();
Assert.assertTrue("got back reified statement", rsIterator.hasNext());
//recreating jena-graph
graph = new JenaGraph(mGraph);
model = ModelFactory.createModelForGraph(graph);
stmts = model.listStatements(RDFS.Resource, null, (RDFNode)null);
returnedStmt = stmts.nextStatement();
rsIterator = returnedStmt.listReifiedStatements();
Assert.assertTrue("got back reified statement on recreated graph",