### Question:
RequestAdapter extends HttpServletRequestWrapper { @Override public String[] getParameterValues(final String name) { final List<String> values = req.getForm().get(name); if (values == null) { return null; } return values.toArray(new String[values.size()]); } RequestAdapter(final HttpServletRequest request, final Request req); @Override String getParameter(final String name); @Override Map<String, String[]> getParameterMap(); @Override Enumeration<String> getParameterNames(); @Override String[] getParameterValues(final String name);  }### Answer:
@Test(dataProvider = "requestsWithFormParameters") public void testGetParameterValues(final Request request) throws Exception { RequestAdapter adapter = new RequestAdapter(delegate, request); assertThat(adapter.getParameterValues("hello")).contains("world"); assertThat(adapter.getParameterValues("multi_valued")).contains("one", "two three"); assertThat(adapter.getParameterValues("unknown")).isNull(); }