*/
public void testSetEmptyValueWhenValueChangedOnRequest() throws Exception {
Form form = WidgetTestHelper.loadForm(getManager(), this, "FieldTestCase.model.xml");
Field field = (Field)form.getChild("stringfield");
Action button = (Action)form.getChild("action");
MockRequest request;
// Set a value in stringfield and submit with an action
// (no validation, thus no call to doParse())
request = new MockRequest();
request.addParameter("stringfield", "bar");
request.addParameter("action", "pressed");
form.process(new FormContext(request));
// Verify submit widget, just to be sure that validation did not occur
assertEquals("Form submit widget", button, form.getSubmitWidget());