use of org.apache.wicket.util.tester.MockPageParameterPage.MockInnerClassPage in project wicket by apache.
the class WicketTesterTest method constructorAndInnerPage.
/**
* Test instance constructor and inner page class
*
* @throws Exception
*/
@Test
public void constructorAndInnerPage() throws Exception {
tester.startPage(new MockInnerClassPage());
// assertion
tester.assertRenderedPage(MockInnerClassPage.class);
tester.assertComponent("title", Label.class);
tester.assertContains("Hello world!");
}
Aggregations