}
}
public void testModeChangeUsingPortletWidgets() {
final Mock mockResponse = mock(RenderResponse.class);
mockResponse.stubs().method(ANYTHING);
PortletMode mode = PortletMode.EDIT;
Map requestParams = new HashMap();
requestParams.put(PortletActionConstants.ACTION_PARAM, new String[]{"/view/testAction"});
requestParams.put(EVENT_ACTION, new String[]{"false"});