@Test
public void testHttpRequestWrapperOfWrappedRequest() {

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