tester.assertRenderedPage(FormTestPage.class);
tester.assertComponent("form", Form.class);
tester.assertComponent("form:panel:styles:defaultStyle", DropDownChoice.class);
// check selecting something else works
StyleInfo target = ((List<StyleInfo>) new StylesModel().getObject()).get(0);
FormTester ft = tester.newFormTester("form");
ft.select("panel:styles:defaultStyle", 0);
ft.submit();
tester.assertModelValue("form:panel:styles:defaultStyle", target);
}