@SuppressWarnings("unchecked")
private ActionProxy getProxy(String uri) {
ServletActionContext.setRequest(request);
request.setRequestURI(uri);
ActionMapping mapping = getActionMapping(request);
String namespace = mapping.getNamespace();
String name = mapping.getName();
String method = mapping.getMethod();
ActionProxy proxy = this.actionProxyFactory.createActionProxy(namespace, name, method, new HashMap<String, Object>(), true, false);
TestActionProxy testProxy = new TestActionProxy(proxy);
testProxy.addExecutionListener(this);
this.actionFromProxy = (T) proxy.getAction();