### Question:
MultipartSlingHttpServletRequest extends SlingHttpServletRequestWrapper implements
		MultipartHttpServletRequest { @Override public HttpHeaders getMultipartHeaders(String name) { String contentType = getMultipartContentType(name); if (contentType != null) { HttpHeaders headers = new HttpHeaders(); headers.add(CONTENT_TYPE, contentType); return headers; } else { return null; } } 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 testGetMultipartHeaders() { String fileName = "test1"; String contentType = "image/png"; mockFileFieldWithContentType(fileName, contentType); HttpHeaders headers = this.testee.getMultipartHeaders(fileName); assertThat(headers.size()).isEqualTo(1); assertThat(headers.containsKey(MultipartSlingHttpServletRequest.CONTENT_TYPE)).isTrue(); assertThat(headers.getFirst(MultipartSlingHttpServletRequest.CONTENT_TYPE)).isEqualTo(contentType); }