public void locale_not_encoded()
{
RequestSecurityManager manager = mockRequestSecurityManager();
Request request = mockRequest();
Response response = mockResponse();
ContextPathEncoder contextPathEncoder = getService(ContextPathEncoder.class);
expect(manager.checkPageSecurity("MyPage")).andReturn(LinkSecurity.INSECURE);
train_getContextPath(request, "/myapp");
train_encodeURL(response, "/myapp/mypage", "MAGIC");