ActionProxy mockActionProxy = control.createMock(ActionProxy.class);
ActionInvocation mockInvocation = control.createMock(ActionInvocation.class);
mockInvocation.getProxy();
control.andReturn(mockActionProxy);
mockInvocation.getResultCode();
control.andReturn("myResult");
mockActionProxy.getConfig();
control.andReturn(actionConfig);
mockInvocation.getInvocationContext();
control.andReturn(context);
mockInvocation.getStack();