@Test
public void testGetOutputStream() throws IOException {

    OutputStream os = createMock(OutputStream.class);
    expect(response.getPortletOutputStream()).andReturn(os);
    replay(response, os);
    assertEquals(os, delegate.getOutputStream());
    verify(response, os);
}