assertEquals(testValue, portletBean.getTestParam());
assertEquals(anotherValue, portletBean.getAnotherParam());
}
public void testMultipleInitParametersOnlyOneSet() throws Exception {
PortletContext portletContext = new MockPortletContext();
MockPortletConfig portletConfig = new MockPortletConfig(portletContext);
String testValue = "testValue";
portletConfig.addInitParameter("testParam", testValue);
portletConfig.addInitParameter("unknownParam", "unknownValue");
TestPortletBean portletBean = new TestPortletBean();