params.put("role", objectWrapper.wrap("myRole"));
params.put("type", objectWrapper.wrap("myType"));
expect(request.getAttribute(FreeMarkerUtil.COMPOSE_STACK_ATTRIBUTE_NAME)).andReturn(composeStack);
tModel.start(composeStack);
tModel.end(composeStack, value, "myExpression", "",
"myRole", "myType");
body.render(isA(StringWriter.class));
replay(request, tModel, body);
fmModel.execute(env, params, null, body);