Map<String, Object> params = new HashMap<String, Object>();
params.put("role", objectWrapper.wrap("myRole"));
expect(request.getAttribute(FreeMarkerUtil.COMPOSE_STACK_ATTRIBUTE_NAME)).andReturn(composeStack);
tModel.start(composeStack, "myRole");
tModel.end(composeStack);
body.render(isA(NullWriter.class));
replay(request, tModel, body);
fmModel.execute(env, params, null, body);
verify(template, model, request, tModel, body);