### Question:
RequestAdapter extends HttpServletRequestWrapper { @Override public String getParameter(final String name) { final List<String> values = req.getForm().get(name); return (values == null || values.isEmpty()) ? null : values.get(0); } 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 testGetParameter(final Request request) throws Exception { RequestAdapter adapter = new RequestAdapter(delegate, request); assertThat(adapter.getParameter("hello")).isEqualTo("world"); assertThat(adapter.getParameter("multi_valued")).isEqualTo("one"); assertThat(adapter.getParameter("unknown")).isNull(); }