assertIsoModels( model( "x P A; x Q B; y R C" ), c.fill( model( "" ) ) );
}
public void testContentLoadsPrefixMappings()
{
Assembler a = new ContentAssembler();
String content =
"@prefix foo: <eh:/foo#>. <eh:/eggs> rdf:type rdf:Property."
.replaceAll( " ", "\\\\s" );
Resource root = resourceInModel( "x rdf:type ja:Content; x rdf:type ja:LiteralContent; x ja:literalContent '" + content + "'" );
Content c = (Content) a.open( root );
Model m = ModelFactory.createDefaultModel();
c.fill( m );
assertEquals( "eh:/foo#", m.getNsPrefixURI( "foo" ) );
}