@Test
public void testSetValue() {

    expect(request.getPortletSession()).andReturn(session);
    session.setAttribute("name", "value", PortletSession.PORTLET_SCOPE);
    replay(request, session);
    extractor.setValue("name", "value");
    verify(request, session);
}