public class PortalPreferenceFormTest {
private Map<String, PortalPreference> preferenceMap = new HashMap<String, PortalPreference>();
@Before
public void setUp() throws Exception {
PortalPreference titlePref = new PortalPreference(TITLE_SUFFIX, "Test portal");
preferenceMap.put(TITLE_SUFFIX, titlePref);
PortalPreference pageSizePref = new PortalPreference(PAGE_SIZE, "20");
preferenceMap.put(PAGE_SIZE, pageSizePref);
PortalPreference javaScriptDebugMode = new PortalPreference(JAVASCRIPT_DEBUG_MODE, "0");
preferenceMap.put(JAVASCRIPT_DEBUG_MODE, javaScriptDebugMode);
}