final String fromRelValue, final String toURL,
final String toURLName, final String toRelValue, final String action,
final String applyToBoth, final String jsonResponse)
{
Mockery context = new Mockery();
final HttpServletRequest httpRequest = context.mock(HttpServletRequest.class);
final HttpServletResponse httpResponse = context.mock(HttpServletResponse.class);
final HttpSession httpSession = context.mock(HttpSession.class);
final ByteArrayOutputStream out = new ByteArrayOutputStream();
final PrintWriter httpResponseWriter = new PrintWriter(out);