page.getPageParameters().setIndexedParameter(1, "i2");
page.getPageParameters().setNamedParameter("a", "b");
page.getPageParameters().setNamedParameter("b", "c");
page.setCreatedBookmarkable(true);
IPageProvider provider = new PageProvider(page);
IRequestHandler handler = new RenderPageRequestHandler(provider);
Url url = encoder.mapHandler(handler);
assertEquals("wicket/bookmarkable/" + PAGE_CLASS_NAME + "/i1/i2?15&a=b&b=c", url.toString());
}