@Test
public void renderable() throws Exception {
getEngine("templateService", factory);
TemplateContext ctx = new MappedTemplateContext();
ctx.put("object", new MyRenderable());
String content = templateService.getText("test_renderable.ftl", ctx);
assertThat(content, containsString("from render()"));
assertThat(content, not(containsString("from toString()")));
}