*
*/
@Test
public void testParams() {
final List<InitParamType> initParams = new ArrayList<InitParamType>();
InitParamType p1 = new InitParamType();
p1.setParamName("param1");
p1.setParamValue("value1");
InitParamType p2 = new InitParamType();
p2.setParamName("param2");
p2.setParamValue("value2");
initParams.add(p1);
initParams.add(p2);
final String filterName = "filterWithParams";
PortletContext portletContext = EasyMock.createMock(PortletContext.class);