@Test
public void testIsRenderable() {

    Request requestContext = createMock(DispatchRequest.class);
    replay(requestContext);
    assertTrue(renderer.isRenderable("/myTemplate.jsp", requestContext));
    assertFalse(renderer.isRenderable(null, requestContext));
    verify(requestContext);
}