.setNsPrefix( "your", "urn:public:17#" );
Resource root = resourceInModel
( "x rdf:type ja:DefaultModel; x ja:prefixMapping p1; x ja:prefixMapping p2"
+ "; p1 rdf:type ja:PrefixMapping; p1 ja:prefix 'my'; p1 ja:namespace 'urn:secret:42/'"
+ "; p2 rdf:type ja:PrefixMapping; p2 ja:prefix 'your'; p2 ja:namespace 'urn:public:17#'" );
Model m = (Model) a.open( Assembler.prefixMapping, root );
assertSamePrefixMapping( wanted, m );
}
}