@Test
public void testCreateModelBody() {

    InternalContextAdapter context = createMock(InternalContextAdapter.class);
    Writer writer = createMock(Writer.class);
    Node node = createMock(Node.class);
    ASTBlock block = createMock(ASTBlock.class);
    expect(node.jjtGetChild(1)).andReturn(block);
    replay(context, writer, node, block);
    VelocityAutotagRuntime runtime = new VelocityAutotagRuntime();
    runtime.render(context, writer, node);
    ModelBody modelBody = runtime.createModelBody();
    assertTrue(modelBody instanceof VelocityModelBody);
    verify(context, writer, node, block);
}