### Question:
MultipartSlingHttpServletRequest extends SlingHttpServletRequestWrapper implements
		MultipartHttpServletRequest { @Override @SuppressWarnings("unchecked") public HttpHeaders getRequestHeaders() { HttpHeaders headers = new HttpHeaders(); Enumeration<String> headerNames = getHeaderNames(); while (headerNames.hasMoreElements()) { String headerName = headerNames.nextElement(); headers.put(headerName, list(getHeaders(headerName))); } return headers; } MultipartSlingHttpServletRequest(SlingHttpServletRequest wrappedRequest); @Override Iterator<String> getFileNames(); @Override MultipartFile getFile(String name); @Override List<MultipartFile> getFiles(String name); @Override Map<String, MultipartFile> getFileMap(); @Override MultiValueMap<String, MultipartFile> getMultiFileMap(); @Override String getMultipartContentType(String name); @Override HttpHeaders getMultipartHeaders(String name); @Override @SuppressWarnings("unchecked") HttpHeaders getRequestHeaders(); @Override HttpMethod getRequestMethod();  }### Answer:
@Test public void testGetRequestHeaders() { HttpHeaders expected = new HttpHeaders(); expected.add("MyHeaderA", "value1a"); expected.add("MyHeaderA", "value1b"); expected.add("MyHeaderB", "value2"); expected.add("MyHeaderC", "value3"); mockHeaders(expected); HttpHeaders actual = this.testee.getRequestHeaders(); assertThat(actual).isEqualTo(expected); }