IModel<Integer> integerModel = new IntegerModel();
AjaxEditableLabel<Integer> editableLabel = new AjaxEditableLabel<Integer>("test",
integerModel);
editableLabel.getEditor().setVisible(true);
IWritableRequestParameters postParameters = (IWritableRequestParameters)tester
.getRequestCycle().getRequest().getPostParameters();
postParameters.setParameterValues(editableLabel.getEditor().getInputName(),
Arrays.asList(new StringValue[] { StringValue.valueOf("5") }));
editableLabel.getEditor().processInput();
assertThat(integerModel.getObject(), instanceOf(Integer.class));
}