def METHOD_NAME(self):
    """
    The RDFa licence property is tagged on the content if there is no url.
    """
    # Dummy slot where to include plugin
    placeholder = Placeholder.objects.create(slot="test")
    # Create a license with no url
    licence = LicenceFactory(url="")
    # Template context with additional variable to activate license property
    context = self.get_practical_plugin_context({"is_license_property": True})
    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 but on the content
    self.assertEqual(html.count('property="license"'), 1)
    self.assertEqual(
        html.count('<div class="licence-plugin__content" property="license">'), 1
    )