@Test
public void createFromRelativeURI() throws Exception {

	URI relative = URI.create("page/deeper.txt?q");
	IRI relativeIri = iriFactory.create(relative);
	assertEquals("page/deeper.txt", relativeIri.getRawPath());
	
	IRI base = iriFactory.create("http://example.com/relative/path?q=somethingelse");
	IRI absolute = base.create(relative);
	assertEquals("http://example.com/relative/page/deeper.txt?q", absolute.toString());
	
	URI other = URI.create("http://other.example.net/");
	IRI otherIri = base.create(other);
	assertEquals("http://other.example.net/", otherIri.toASCIIString());
}