iri.setValue("http://example.org/foo");
assertEquals(iri.getValue().toString(), "http://example.org/foo");
iri = factory.newIRIElement(Constants.ID, null);
iri.setValue("http://example.org/foo");
assertEquals(iri.getValue().toString(), "http://example.org/foo");
Link link = factory.newLink();
assertNotNull(link);
link = factory.newLink();
link.setHref("http://example.org/foo");
link.setRel("a");
link.setMimeType("text/foo");
link.setTitle("b");
link.setHrefLang("en");
link.setLength(10);
assertEquals(link.getHref().toString(), "http://example.org/foo");
assertEquals(link.getRel(), "a");
assertEquals(link.getMimeType().toString(), "text/foo");
assertEquals(link.getTitle(), "b");
assertEquals(link.getHrefLang(), "en");
assertEquals(link.getLength(), 10);
link = factory.newLink();
link.setHref("http://example.org/foo");
link.setRel("a");
link.setMimeType("text/foo");
link.setTitle("b");
link.setHrefLang("en");
link.setLength(10);
assertEquals(link.getHref().toString(), "http://example.org/foo");
assertEquals(link.getRel(), "a");
assertEquals(link.getMimeType().toString(), "text/foo");
assertEquals(link.getTitle(), "b");
assertEquals(link.getHrefLang(), "en");
assertEquals(link.getLength(), 10);
iri = factory.newLogo();
assertNotNull(iri);
iri = factory.newLogo();
iri.setValue("http://example.org/foo");
assertEquals(iri.getValue().toString(), "http://example.org/foo");