@Test public void testEvalSTFromAnotherGroup() throws Exception {
ErrorBuffer errors = new ErrorBuffer();
STGroup innerGroup = new STGroup();
innerGroup.setListener(errors);
innerGroup.defineTemplate("bob", "inner");
ST st = innerGroup.getInstanceOf("bob");
STGroup outerGroup = new STGroup();
outerGroup.setListener(errors);
outerGroup.defineTemplate("errorMessage", "x", "<x>");