config.load(new FileInputStream(PortalTestConstants.JETSPEED_PROPERTIES_PATH));
String appRoot = PortalTestConstants.JETSPEED_APPLICATION_ROOT;
MockServletConfig servletConfig = new MockServletConfig();
ResourceLocatingServletContext servletContent = new ResourceLocatingServletContext(new File(appRoot));
servletConfig.setServletContext(servletContent);
ServletConfigFactoryBean.setServletConfig(servletConfig);
SpringComponentManager scm = new SpringComponentManager(new String[] {"/WEB-INF/assembly/boot/datasource.xml"}, new String[] {"/WEB-INF/assembly/*.xml"}, servletContent, appRoot );