The patch adds the following methods to MockStrutsTestCase:
getRequestURI()
setRequestURI()
getResponseLocationHeader()
setResponseLocationHeader()
I am using Stxx (http://stxx.sf.net), and the
HttpServletRequestSimulator::requestURI was not being
set. Additionally, the "Location" header was not being
added to HttpServletResponseSimulator::headers. I
don't know if the problem is in Stxx, or if it's
something I'm not doing properly, but I think these are
two useful methods.
Adds get/setRequestURI() & get/setRequestLocationHeader() to MockStrutsTestCase.java