@Test
public void testPropagateWriterFlush() throws IOException {

  PrintWriter w = responseWrapper.getWriter();
  verify(response, never()).getWriter();
  verify(requestWrapper, never()).propagateSession();
  w.flush();
  verify(requestWrapper).propagateSession();
}