@Test
public void testStreamClose() throws IOException {

  ServletOutputStream os = responseWrapper.getOutputStream();
  os.close();
  verify(requestWrapper).propagateSession();
  os.close();
  verify(requestWrapper).propagateSession();
}