Commits

Anonymous committed b7d27be

tests pass once again (except for the one that doesn't, but we knew that)

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@135e221344d-f017-0410-9bd5-d282ab1896d7

Comments (0)

Files changed (1)

src/test/com/opensymphony/xwork/interceptor/ChainingInterceptorTest.java

 
 import junit.framework.TestCase;
 import com.opensymphony.xwork.util.OgnlValueStack;
-import com.opensymphony.xwork.ActionInvocation;
-import com.opensymphony.xwork.TestBean;
-import com.opensymphony.xwork.Action;
-import com.opensymphony.xwork.SimpleAction;
+import com.opensymphony.xwork.*;
 import com.mockobjects.dynamic.Mock;
 
 import java.util.Date;
+import java.util.HashMap;
 
 
 /**
         mockInvocation = new Mock(ActionInvocation.class);
         mockInvocation.expectAndReturn("getStack",stack);
         mockInvocation.expectAndReturn("invoke",Action.SUCCESS);
+        mockInvocation.expectAndReturn("getInvocationContext", new ActionContext(new HashMap()));
         invocation = (ActionInvocation) mockInvocation.proxy();
         interceptor = new ChainingInterceptor();
     }