import org.rendersnake.servlet.URIMappingResolver;
public class URIMappingResolverTest extends TestCase {
public void testMapping() {
URIMappingResolver res = new URIMappingResolver();
res.init(null);
MockHttpRequest request = new MockHttpRequest();
request.pathInfo = "/test.personal.html";
Renderable page = res.renderComponentForRequest(request);
assertNotNull(page);
assertTrue(page.getClass() == PersonalPage.class);
}