assertNull(lt.getLocale());
}
private RunData getRunData() throws Exception
{
RunDataService rds = (RunDataService) TurbineServices.getInstance().getService(RunDataService.SERVICE_NAME);
EnhancedMockHttpServletRequest request = new EnhancedMockHttpServletRequest();
request.setupServerName("bob");
request.setupGetProtocol("http");
request.setupScheme("scheme");
request.setupPathInfo("damn");
request.setupGetServletPath("damn2");
request.setupGetContextPath("wow");
request.setupGetContentType("html/text");
request.setupAddHeader("Content-type", "html/text");
request.setupAddHeader("Accept-Language", "en-US");
Vector v = new Vector();
request.setupGetParameterNames(v.elements());
MockHttpSession session = new MockHttpSession();
session.setupGetAttribute(User.SESSION_KEY, null);
request.setSession(session);
HttpServletResponse response = new MockHttpServletResponse();
ServletConfig config = new MockServletConfig();
RunData runData = rds.getRunData(request, response, config);
return runData;
}