def METHOD_NAME(self):
    """
    Instanciating this plugin with an instance should populate the context
    and render in the template.
    """
    placeholder = Placeholder.objects.create(slot="test")
    # Create random values for parameters with a factory
    licence = LicenceFactory()
    model_instance = add_plugin(placeholder, LicencePlugin, "en", licence=licence)
    plugin_instance = model_instance.get_plugin_class_instance()
    plugin_context = plugin_instance.render({}, model_instance, None)
    # Check if "instance" is in plugin context
    self.assertIn("instance", plugin_context)
    # Check if parameters, generated by the factory, are correctly set in
    # "instance" of plugin context
    self.assertEqual(plugin_context["instance"].licence.name, licence.name)
    # Template context
    context = self.get_practical_plugin_context()
    # Get generated html for licence name
    html = context["cms_content_renderer"].render_plugin(model_instance, {})
    # Check rendered name
    self.assertIn(licence.name, html)