@Test
public void testCreateTemplateAttribute() {

    replay(velocityContext, request, response, servletContext);
    initializeTool();
    Attribute attribute = tool.createTemplateAttribute("myTemplate");
    assertEquals("myTemplate", attribute.getValue());
    assertEquals("template", attribute.getRenderer());
    verify(velocityContext, request, response, servletContext);
}