@Test
public void testSetValue() {

    PortletRequest request = createMock(PortletRequest.class);
    StateAwareResponse response = createMock(StateAwareResponse.class);
    response.setRenderParameter("name", "value");
    replay(request, response);
    StateAwareParameterExtractor extractor = new StateAwareParameterExtractor(request, response);
    extractor.setValue("name", "value");
    verify(request, response);
}