public void testLabelWithinEnclosure_Visible() throws Exception
{
WicketTester tester = new WicketTester();
tester.startPage(new LabelWithinEnclosurePage(true));
tester.dumpPage();
tester.assertContains("<label wicket:for=\"textfield\" for=\"textfield2\">blabla</label>");
}
public void testLabelWithinEnclosure_Invisible() throws Exception
{