ip.addParameter(vp);
vp = new ValueParam();
vp.setName(InitParamsNames.CACHE_CONTROL);
vp.setValue("text/xml,text/html:max-age=1800;text/*:max-age=777;image/png,image/jpg:max-age=3600;*/*:no-cache;image/*:max-age=555");
ip.addParameter(vp);
ValuesParam vsp = new ValuesParam();
vsp.setName(InitParamsNames.UNTRUSTED_USER_AGENTS);
vsp.getValues().add(InitParamsNames.UNTRUSTED_USER_AGENTS);
vsp.getValues().add(InitParamsNames.UNTRUSTED_USER_AGENTS + "2");
ip.addParameter(vsp);
vsp = new ValuesParam();
vsp.setName(InitParamsNames.ALLOWED_FOLDER_NODE_TYPES);
vsp.getValues().add(InitParamsNames.ALLOWED_FOLDER_NODE_TYPES);
ip.addParameter(vsp);
vsp = new ValuesParam();
vsp.setName(InitParamsNames.ALLOWED_FILE_NODE_TYPES);
vsp.getValues().add(InitParamsNames.ALLOWED_FILE_NODE_TYPES);
ip.addParameter(vsp);
assertEquals(11, ip.size());
// This is required to be able to parse the MimeType