InvokeContext context = new InvokeContext(true);
context.enableLogging(getLogger());
Map sitemapElements = new HashMap();
sitemapElements.put("1", "abc");
context.pushMap("label", sitemapElements);
PreparedVariableResolver resolver = new PreparedVariableResolver(expr, getManager());
assertEquals("123abc/def", resolver.resolve(context, getObjectModel()));
}
public void testMultilevelSitemapVariables() throws PatternException {