@Test
public void checkGroups()
throws Exception
{
GroupMessageUtil groupUtil =
new GroupMessageUtil(XStreamFactory.getXmlXStream(), MediaType.APPLICATION_XML);
ContentListMessageUtil contentUtil =
new ContentListMessageUtil(this.getXMLXStream(), MediaType.APPLICATION_XML);
List<RepositoryGroupListResource> groups = groupUtil.getList();
Assert.assertFalse("No itens to be tested", groups.isEmpty());
for (RepositoryGroupListResource group : groups) {
Assert.assertTrue("Repository '" + group.getId()
+ "' uri do not start with baseUrl. Expected: " + baseUrl + ", but got: " + group.getResourceURI(),