def METHOD_NAME(self):
    """
    The RDFa licence property should be present by default on the url if any.
    """
    # Dummy slot where to include plugin
    placeholder = Placeholder.objects.create(slot="test")
    licence = LicenceFactory(url="https://example.com")
    context = self.get_practical_plugin_context({})
    add_plugin(placeholder, LicencePlugin, "en", licence=licence)
    # Render placeholder so plugin is fully rendered in real situation
    html = context["cms_content_renderer"].render_placeholder(
        placeholder, context=context, language="en"
    )
    # RDFa markup should be present by default
    self.assertEqual(html.count('property="license"'), 1)
    self.assertEqual(
        html.count('<a href="https://example.com" property="license">'), 1
    )