def METHOD_NAME(self, get_embed):
    get_embed.return_value = Embed(
        url="http://www.youtube.com/watch/",
        max_width=None,
        type="video",
        html="test html",
        title="test title",
        author_name="test author name",
        provider_name="test provider name",
        thumbnail_url="http://test/thumbnail.url",
        width=1000,
        height=1000,
    )
    result = expand_db_html(
        '<p>1 2 <embed embedtype="media" url="https://www.youtube.com/watch?v=O7D-1RG-VRk&amp;t=25" /> 3 4</p>'
    )
    self.assertIn("test html", result)
    get_embed.assert_called_with(
        "https://www.youtube.com/watch?v=O7D-1RG-VRk&t=25", None, None
    )