public void testNext() {
resolver.setNextResolver(new MockCompponentResolver());
MockHttpRequest request = new MockHttpRequest();
request.pathInfo = "/org.rendersnake.test.PersonalPage";
Renderable comp = resolver.renderComponentForRequest(request);
assertTrue(comp.getClass() == PersonalPage.class);
request.pathInfo = "/org.rendersnake.test.Personal";
try {
resolver.renderComponentForRequest(request);
} catch (Exception ex) {
assertTrue(true);