assertEquals(frag,back);
}
public void testRelativizeFrag2() {
IRIFactory f = IRIFactory.jenaImplementation();
IRI base = f.create("http://example.org/somefolder/mybase.rdf");
IRI frag = f.create("http://example.org/#foo");
IRI rel = base.relativize(frag);
assertEquals("/#foo",rel.toString());
IRI back = base.resolve(rel);
assertEquals(frag,back);