@Test
public void testWrite() throws IOException {

    Request requestContext = createMock(Request.class);
    container.render("my.definition", requestContext);
    replay(requestContext, container);
    renderer.render("my.definition", requestContext);
    verify(requestContext, container);
}