### Question:
RequestAdapter extends HttpServletRequestWrapper { @Override public Enumeration<String> getParameterNames() { return Collections.enumeration(req.getForm().keySet()); } 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 testGetParameterNames(final Request request) throws Exception { RequestAdapter adapter = new RequestAdapter(delegate, request); assertThat(list(adapter.getParameterNames())) .contains("hello", "multi_valued"); }