String q = env.executeTemplate("filter.map1", context, null, null);
Assert.assertEquals("[nbsss -> a3,a45 -> 943q,ano -> yes]\n", q);
}
public void testCollect() {
TemplatesFacade env = new TestTemplatesFacade(new DefaultNavigationFactory(), new ClassTemplateLoader(getClass().getClassLoader(), TEMPLATES_LOCATION, TEMPLATES_CHARSET));
EvaluationContext context = new EvaluationContext(null);
context.setVariable("util", new DefaultStaticMethods());
// test 1
String q = env.executeTemplate("filter.collectorUnique", context, null, null);