@Test
public void testCloneAttribute() {

    Attribute attribute = new Attribute("myValue", Expression
            .createExpression("myExpression", null), "myRole",
            "myRendererName");
    replay(velocityContext, request, response, servletContext);
    initializeTool();
    assertEquals(attribute, tool.clone(attribute));
    verify(velocityContext, request, response, servletContext);
}