use of org.apache.jena.assembler.assemblers.ContentAssembler in project jena by apache.
the class TestModelAssembler method testContent.
public void testContent() {
Resource root = resourceInModel("x rdf:type ja:DefaultModel; x ja:initialContent c; c ja:quotedContent A; A P B");
// root.getModel().write( System.err, "N3" );
Model m = (Model) new FakeModelAssembler().open(new ContentAssembler(), root, Mode.ANY);
assertIsoModels(modelWithStatements("A P B"), m);
}
Aggregations