STGroup group = new STGroup();
group.defineTemplate("test", "users",
"begin\n" +
"<users:{u | name: <u>}; separator=\", \">\n" +
"end\n");
ST t = group.getInstanceOf("test");
t.add("users", new ArrayList<Object>());
String expecting="begin"+newline+"end";
String result = t.render();
assertEquals(expecting, result);
}