@Test
public void testAbstractDefaultToStringRenderable() {

    Context velociContext = createMock(Context.class);
    HttpServletRequest request = createMock(HttpServletRequest.class);
    HttpServletResponse response = createMock(HttpServletResponse.class);
    Map<String, Object> params = new HashMap<String, Object>();
    replay(velociContext, request, response);
    DefaultRenderable renderable = new DefaultRenderable(velociContext,
            params, response, request);
    assertEquals(velociContext, renderable.getVelocityContext());
    assertEquals(request, renderable.getRequest());
    assertEquals(response, renderable.getResponse());
    assertEquals(params, renderable.getParams());
    verify(velociContext, request, response);
}