@Test
public void testIsResponseCommitted() {

    expect(responseDelegate.isResponseCommitted()).andReturn(true);
    replay(applicationContext, request, response, portletContext, requestDelegate, responseDelegate);
    assertTrue(req.isResponseCommitted());
    verify(applicationContext, request, response, portletContext, requestDelegate, responseDelegate);
}