"<fields:{f | <f:stat()>}>" +newline+
">>"+newline+
"stat(f,value={<f.name>}) ::= \"x=<value>; // <f.name>\""+newline
;
writeFile(tmpdir, "group.stg", templates);
STGroup group = new STGroupFile(tmpdir+"/group.stg");
ST m = group.getInstanceOf("method");
m.add("fields", new Field());
String expecting = "x=parrt; // parrt";
String result = m.render();
assertEquals(expecting, result);
}