def METHOD_NAME(self):
    """
    The "placeholder_as_plugins" template tag should inject in the page the edit markup
    """
    page = create_page("Test", "richie/single_column.html", "en", published=True)
    placeholder = page.placeholders.all()[0]
    add_plugin(placeholder, CKEditorPlugin, "en", body="<b>Test 1</b>")
    add_plugin(placeholder, CKEditorPlugin, "en", body="<b>Test 2</b>")
    request = RequestFactory().get("/")
    request.current_page = page
    user = UserFactory(is_staff=True, is_superuser=True)
    request.user = user
    request.session = {"cms_edit": True}
    request.toolbar = CMSToolbar(request)
    request.toolbar.is_staff = True
    # Silent keyword argument in edition mode omit markup related to placeholder
    # edition
    template = (
        "{% load cms_tags extra_tags %}"
        '{% placeholder_as_plugins "maincontent" as plugins %}'
        "{% for plugin in plugins %}{% render_plugin plugin %}{% endfor %}"
    )
    output = self.render_template_obj(template, {}, request)
    # Tag adds HTML placeholder which set stuff for DjangoCMS edition (we don't
    # assert on Javascript content since it holds too many references to write here)
    self.assertInHTML(
        f'<div class="cms-placeholder cms-placeholder-{placeholder.id:d}"></div>',
        output,
    )
    self.assertIn(
        "CMS._plugins.push",
        output,
    )