.getLogger(TestCategory.class);
@Test
public void testGetCategoryLabel() throws SimalRepositoryException,
URISyntaxException {
IDoapCategory category = SimalRepositoryFactory.getCategoryService().get(
"http://simal.oss-watch.ac.uk/category/socialNews");
String label = category.getLabel();
assertEquals("Category Label is incorrect", "Social News", label);
String uri = "http://example.org/does/not/exist";
category = SimalRepositoryFactory.getCategoryService().get(uri);
assertNull("Somehow we have a category that should not exist", category);