JspFragment body = createMock(JspFragment.class);
PageContext pageContext = createMock(PageContext.class);
JspWriter writer = createMock(JspWriter.class);
expect(pageContext.getOut()).andReturn(null);
body.invoke(writer);
replay(body, pageContext, writer);
JspModelBody modelBody = new JspModelBody(body, pageContext);
modelBody.evaluate(writer);
verify(body, pageContext, writer);