use of org.apache.wicket.core.request.mapper.PackageMapperTest.OuterPage.InnerPage in project wicket by apache.
the class PackageMapperTest method encodeInnerClass.
/**
* https://issues.apache.org/jira/browse/WICKET-3838
*/
@Test
public void encodeInnerClass() {
InnerPage page = new OuterPage.InnerPage();
IPageProvider provider = new PageProvider(page);
IRequestHandler handler = new BookmarkablePageRequestHandler(provider);
Url url = innerClassEncoder.mapHandler(handler);
assertEquals(MOUNT_PATH + '/' + "PackageMapperTest$OuterPage$InnerPage", url.toString());
}
Aggregations