public void testRepresentation() throws Exception
{
GetMethod getMethod = executeGet(getUriBuilder(ClassesResource.class).build(getWiki()).toString());
Assert.assertEquals(getHttpMethodInfo(getMethod), HttpStatus.SC_OK, getMethod.getStatusCode());
Classes classes = (Classes) unmarshaller.unmarshal(getMethod.getResponseBodyAsStream());
for (Class clazz : classes.getClazzs()) {
checkLinks(clazz);
for (Property property : clazz.getProperties()) {
checkLinks(property);
}