@Test
public void testHttpRequestWrapperOfHttpRequestWrapper() {

  HttpServletRequest wrappedSimple = mock(HttpServletRequest.class);
  HttpRequestWrapper wrappedHttpRequestWrapper = mock(HttpRequestWrapper.class);
  when(wrappedHttpRequestWrapper.getRequest()).thenReturn(wrappedSimple);
  HttpServletRequest wrappedComplex = new HttpServletRequestWrapper(wrappedHttpRequestWrapper);
  HttpRequestWrapper req = new HttpRequestWrapper(wrappedComplex, servletContext);
  assertEquals(wrappedHttpRequestWrapper, req.getEmbeddedRequest());
  assertEquals(wrappedComplex, req.getRequest());
}