@Test public void test_RS_6()
{
ResultSetRewindable rs1 = make2Rewindable("x", com.hp.hpl.jena.graph.NodeFactory.createURI("tag:local")) ;
ByteArrayOutputStream arr = new ByteArrayOutputStream() ;
ResultSetFormatter.outputAsJSON(arr, rs1) ;
rs1.reset() ;
ByteArrayInputStream ins = new ByteArrayInputStream(arr.toByteArray()) ;
ResultSet rs2 = ResultSetFactory.fromJSON(ins) ; // Test using the DAWG examples
assertTrue(ResultSetCompare.equalsByTerm(rs1, rs2)) ;
}