throws Exception
{
List col = new ArrayList();
col.add(new Integer(100));
col.add("STRVALUE");
context.put("helper", new ForeachMethodCallHelper());
context.put("col", col);
StringWriter writer = new StringWriter();
Velocity.evaluate(context, writer, "test",
"#foreach ( $item in $col )$helper.getFoo($item) " +