I need to test an action that is getting uploaded files and piping them straight
into Strings. I don't want to save actual files on server, so I'll get the
multipart request wrapper directly.
MultiPartRequestWrapper multiWrapper =
(MultiPartRequestWrapper) ServletActionContext.getRequest()
I'm thinking of using HttpUnit and ServletUnit to set this stuff up. Has anyone
set up Struts2 with ServletUnit?
By the way, has anyone used Mockito yet, the new mocking framework?
http://code.google.com/p/mockito/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]