This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
I am trying to emulate an HttpServletRequest for the purposes of testing someing in a junit fixture. I have created a dummy unit test HttpServletRequest by implementing the interface. Can anyone give me quick pointers on setting up the basic attributes which would be sent to the server i.e pathInfo etc.....?