"g() ::= \"<f(x={a},z={b})>\"";
//012345678901234567
writeFile(dir, "group.stg", groupFile);
STGroupFile group = new STGroupFile(dir+"/group.stg");
ErrorBuffer errors = new ErrorBuffer();
group.setListener(errors);
ST st = group.getInstanceOf("g");
st.render();
String expected = "context [/g] 1:1 attribute z isn't defined"+newline;
String result = errors.toString();
assertEquals(expected, result);
}