@Test
public void baseUriTransformation() {
MGraph mGraph = new SimpleMGraph();
String xml = "<a href=\"" + UriMutatorIterator.BASE_URI_PLACEHOLDER +
REFERENCED_BUNDLE_NAME + "/bla\"/>";
Literal literal = new TypedLiteralImpl(xml,
UriMutatorIterator.XML_LITERAL);
String expectedXml = "<a href=\"" + HOST +
"bundle-doc/"+ REFERENCED_BUNDLE_NAME +"/bla\"/>";
Literal expectedLiteral = new TypedLiteralImpl(expectedXml,
UriMutatorIterator.XML_LITERAL);
UriRef uriRef = new UriRef("bla");
mGraph.add(new TripleImpl(uriRef, uriRef, literal));
Iterator<Triple> it = new UriMutatorIterator(mGraph.iterator(), HOST,
ORIGIN_BUNDLE_NAME);