req.setURL("/foo/bar");
    public void testGetGlobalParams() {        HttpServletDummyRequest req = new HttpServletDummyRequest();        HashSet set = new HashSet();        set.add("param1");        set.add("param2");        req.setURL("/foo/bar");        req.setParameterValues("x", "xvalue");        req.setParameterValues("y", "32");        Set rs = URLRewriter.getGlobalParams(req);        Iterator iter = rs.iterator();        while (iter.hasNext()) {            Map.Entry entry = (Map.Entry)iter.next();            set.remove(entry.getKey());        }        assertTrue(set.isEmpty());    }