def METHOD_NAME(markdown_render):
    markdown_render.render.return_value = "<p>foobar</p>"
    annotation = Annotation()
    annotation.text = "foobar"
    markdown_render.render.assert_called_once_with("foobar")
    assert (  # pylint: disable=comparison-with-callable
        annotation.text_rendered == markdown_render.render.return_value
    )