content = factory.newContent(Content.Type.XML);
assertEquals(Content.Type.XML, content.getContentType());
content = factory.newContent(new MimeType("text/foo"));
assertEquals(Content.Type.MEDIA, content.getContentType());
assertEquals("text/foo", content.getMimeType().toString());
Person contributor = factory.newContributor();
assertNotNull(contributor);
contributor = factory.newContributor();
contributor.setName("a");
contributor.setEmail("b");
contributor.setUri("c");