Tried extending XWorkTestCase in a sample test, but sgot the same error. I'm extending MockObjectTestCase anyway, so inheritance wouldn't be the best solution for me.
Doesn't look like there's been any traction on this issue in Jira yet: https://issues.apache.org/struts/browse/WW-1868 qmnonic wrote: > > > I experienced the same problem in a test case (though different > circumstances), and it was solved by extending XWorkTestCase instead of > TestCase as noted in the example - > http://struts.apache.org/2.x/docs/how-do-i-unit-test-my-actions-validation-logic.html > . This might help... > > > -- View this message in context: http://www.nabble.com/Struts-2-and-Validation-Testing-tf3451623.html#a9872429 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]