assertEquals(portletResponse.isCommitted(), response.isCommitted());
//TODO: How to check if its the same behaviour as in PR? Its not the same object.
assertNotNull(response.getOutputStream());
//Cannot invoke both writer and outputstream in single request
//assertEquals(portletResponse.getWriter(), response.getWriter());
assertEquals(portletResponse.encodeURL("http://www.jboss.com/"), response.encodeURL("http://www.jboss.com/"));
assertEquals(portletResponse.encodeURL("http://www.jboss.com/"), response.encodeUrl("http://www.jboss.com/"));
//SPEC:118
assertEquals(false, response.containsHeader("blah"));