WW-3753 - adheres AnnotationActionValidatorManager to ActionValidatorManager interface's contract

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1293795 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Lukasz Lenart
2012-02-26 09:52:12 +00:00
parent f47cfa889a
commit 5aa97c1b4b
@@ -21,12 +21,12 @@
package org.apache.struts2.interceptor.validation;
import org.apache.struts2.StrutsTestCase;
import org.easymock.EasyMock;
import com.mockobjects.dynamic.Mock;
import com.opensymphony.xwork2.*;
import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.ActionProxy;
import com.opensymphony.xwork2.config.entities.ActionConfig;
import org.apache.struts2.StrutsTestCase;
public class AnnotationValidationInterceptorTest extends StrutsTestCase {
@@ -52,7 +52,6 @@ public class AnnotationValidationInterceptorTest extends StrutsTestCase {
}
public void testShouldNotSkip() throws Exception {
mockActionProxy.expectAndReturn("getMethod", "execute");
mockActionProxy.expectAndReturn("getActionName", "foo");
mockActionProxy.expectAndReturn("getMethod", "execute");
mockActionProxy.expectAndReturn("getConfig", config);
@@ -86,7 +85,6 @@ public class AnnotationValidationInterceptorTest extends StrutsTestCase {
}
public void testShouldNotSkipBase() throws Exception {
mockActionProxy.expectAndReturn("getMethod", "dontSkipMeBase");
mockActionProxy.expectAndReturn("getActionName", "foo");
mockActionProxy.expectAndReturn("getMethod", "execute");
mockActionProxy.expectAndReturn("getConfig", config);