ST e = new ST(
"<reverse(names); separator=\", \">"
);
e.add("names", new String[] { "Ter", "Tom", "Sriram" });
String expecting = "Sriram, Tom, Ter";
assertEquals(expecting, e.render());
}
@Test public void testReversePrimitiveArray() throws Exception {
ST e = new ST(
"<reverse(names); separator=\", \">"