public void testExecuteWithChainOfCustomAttributes() throws Exception {
AnnotatedAction action2 = new AnnotatedAction(action);
action2.getAttributes().put("attr2", "value");
action.getAttributes().put("attr", "value");
action.setTargetAction(new AbstractAction() {
protected Event doExecute(RequestContext context) throws Exception {
assertEquals("value", context.getAttributes().getString("attr"));
assertEquals("value", context.getAttributes().getString("attr2"));
return success();
}