### Question:
MultipartSlingHttpServletRequest extends SlingHttpServletRequestWrapper implements
		MultipartHttpServletRequest { @Override public HttpMethod getRequestMethod() { return HttpMethod.valueOf(getSlingRequest().getMethod()); } 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 testGetRequestMethod() { String expected = "GET"; when(this.wrappedRequest.getMethod()).thenReturn(expected); HttpMethod actual = this.testee.getRequestMethod(); assertThat(actual.name()).isEqualTo(expected); }