i did not look at it jet but is there already a solution for testing a
method like this:
useraction:
public String edit() throws IOException {
final HttpServletRequest request = getRequest();
final boolean editProfile =
(request.getRequestURI().indexOf("editProfile") > -1);
// if URL is "editProfile" - make sure it's the current user
if (editProfile
......
becasue the getReqeust will not work in a junit test....
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]