expectedParameters.add("namedKey1", "namedValue1");
expectedParameters.add("namedKey2", "namedValue2");
expectedParameters.set(0, "indexedValue1");
expectedParameters.set(1, "indexedValue2");
RenderPageRequestHandler renderPageRequestHandler = new RenderPageRequestHandler(
new PageProvider(DummyHomePage.class, expectedParameters));
Url url = mapper.mapHandler(renderPageRequestHandler);
// System.err.println(url.toString());
assertEquals(expectedEncrypted, url.toString());
Request request = getRequest(url);