public void testGetFormErrors() throws Exception {
MockRequestContext context = new MockRequestContext(parameters());
FormAction action = createFormAction("test");
action.setupForm(context);
Errors errors = action.getFormErrors(context);
assertNotNull(errors);
assertTrue(!errors.hasErrors());
errors = new BindException(getFormObject(context), "test");
Errors testErrors = errors;
new FormObjectAccessor(context).putFormErrors(errors, action.getFormErrorsScope());
errors = action.getFormErrors(context);
assertSame(errors, testErrors);
}