### Question:
WrappedHttpServletRequest implements Request { @Override public List<String> getHeaders(String name) { Enumeration<String> values = request.getHeaders(name); List<String> array = new ArrayList<String>(); while (values.hasMoreElements()) { array.add(values.nextElement()); } return Collections.unmodifiableList(array); } WrappedHttpServletRequest(HttpServletRequest request); @Override String getFirstParam(String param); @Override String getMethod(); @Override String getURI(); @Override String getRelativePath(); @Override boolean isSecure(); @Override String getQueryParamValue(String param); @Override Cookie getCookie(String cookieName); @Override String getHeader(String name); @Override List<String> getHeaders(String name); @Override InputStream getInputStream(); @Override InputStream getInputStream(boolean buffered); @Override String getRemoteAddr(); @Override void setError(AuthenticationError error); @Override void setError(LogoutError error);  }### Answer:
@Test public void testGetHeaders() throws Exception { List<String> headers = request.getHeaders(HEADER_MULTI_VALUE); assertNotNull(headers); assertEquals(2, headers.size()); assertTrue(headers.contains("foo")); assertTrue(headers.contains("bar")); }