public String call() throws Exception {
PirkaContext context = new PirkaContext();
context.setCachePath("tmp/cache");
context.setEnableCache(true);
context.setTemplatePath("testdata");
PirkaLoader loader = new PirkaLoader(context);
String templateName = "Repeat";
Template tmpl = loader.load(getTemplateFileName(templateName));
HashMap<String, Object> viewModel = new HashMap<String, Object>();
viewModel.put("rate", 4);
String actual = tmpl.generate(viewModel).render();
assertRenderEquals(templateName, actual);
return actual;