HistoricalTimeSeriesMaster htsMaster = new InMemoryHistoricalTimeSeriesMaster();
addSecurity(WebResourceTestUtils.getEquitySecurity());
addSecurity(WebResourceTestUtils.getBondFutureSecurity());
_webSecuritiesResource = new WebSecuritiesResource(_secMaster, _secLoader, htsMaster, _orgMaster);
MockServletContext sc = new MockServletContext("/web-engine", new FileSystemResourceLoader());
Configuration cfg = FreemarkerOutputter.createConfiguration();
cfg.setServletContextForTemplateLoading(sc, "WEB-INF/pages");
FreemarkerOutputter.init(sc, cfg);
_webSecuritiesResource.setServletContext(sc);
_webSecuritiesResource.setUriInfo(_uriInfo);