public Set getSetRS(Model m, Statement st) { return GraphTestBase.iteratorToSet(m.listReifiedStatements(st)); }
/** * this test appeared when TestStatementResources crashed using reified statements as a step-0 * implementation for asSubject()/asObject(). Looks like there was a problem in * modelReifier().getRS(), which we're fixing ... */ public void testListDoesntCrash() { model.createReifiedStatement(SPO); model.createReifiedStatement(SPO2); assertTrue("should be non-empty", model.listReifiedStatements().hasNext()); }