### Question:
MultiReadHttpServletRequest extends HttpServletRequestWrapper { @Override public Map<String, String[]> getParameterMap() { if (parameterMap == null) { Map<String, String[]> result = new LinkedHashMap<String, String[]>(); decode(getQueryString(), result); decode(getPostBodyAsString(), result); parameterMap = Collections.unmodifiableMap(result); } return parameterMap; } MultiReadHttpServletRequest(HttpServletRequest request); static void toMap(Iterable<NameValuePair> inputParams, Map<String, String[]> toMap); @Override ServletInputStream getInputStream(); @Override BufferedReader getReader(); @Override String getParameter(String key); @Override String[] getParameterValues(String key); @Override Map<String, String[]> getParameterMap(); String getPostBodyAsString(); @Override String toString(); static final String UTF8; static final Charset UTF8_CHARSET; }### Answer:
@Test public void testGetParameterMap() { Map<String, String[]> map = request.getParameterMap(); assertEquals("1", request.getParameter("a")); assertEquals("2", request.getParameter("b")); assertEquals("3", request.getParameter("c")); request.toString(); }