request.addParameter("bar", "123");
InvokeContext context = new InvokeContext(true);
context.enableLogging(new LogKitLogger(getLogger()));
Map sitemapElements = new HashMap();
context.pushMap("sitemap", sitemapElements);
PreparedVariableResolver resolver = new PreparedVariableResolver(expr, manager);
assertEquals("123", resolver.resolve(context, getObjectModel()));
}
public void testNestedModuleAndSitemapExpressions() throws PatternException, ComponentException {