}
public void testForm() throws Exception {
Form f = new Form();
String propertyId = "My property";
f.addItemProperty(propertyId, new MethodProperty<Object>(new Data(),
"dummyGetterAndSetter"));
f.replaceWithSelect(propertyId, new Object[] { "a", "b", null },
new String[] { "Item a", "ITem b", "Null item" });
serializeAndDeserialize(f);