tester.startPage(org.apache.wicket.examples.template.border.Page1.class);
tester.assertRenderedPage(org.apache.wicket.examples.template.border.Page1.class);
doc = tester.getLastResponse().getDocument();
tester.assertContains("Template example, page 1 - border");
tester.assertContains("contents here");
tester.destroy();
}
}