ST e = new ST(
"<rest(names)>, <rest(names)>" // gets 2nd element
);
e.add("names", new int[] { 0, 1 });
String expecting = "1, 1";
assertEquals(expecting, e.render());
}
@Test public void testIncomingLists() throws Exception {
ST e = new org.stringtemplate.v4.ST(
"<rest(names)>, <rest(names)>" // gets 2nd element