w1 = new ViewHandlerResponseWrapper(getResponse());
os = w1.getOutputStream();
// flushBuffer should commit the response so getWriter()
// should throw no Exception
w1.flushBuffer();
try {
w1.getWriter();
} catch (IllegalStateException ise) {
assertTrue(false);
}