def METHOD_NAME(self):
    """
    It should be possible to configure the max_length and ckeditor configuration when
    updating an existing plugin on a specific placeholder.
    It should take the first configuration that matches our placeholder.
    """
    placeholder = Placeholder.objects.create(
        slot=random.choice(["first", "second"])
    )
    request = RequestFactory().get("/")
    plugin = CKEditorPlugin()
    simple_text = SimpleTextFactory(placeholder=placeholder)
    allowed_content = random.sample(["b", "i", "p", "span"], 2)
    max_length = random.randint(1, 5)
    with mock.patch(
        "richie.plugins.simple_text_ckeditor.cms_plugins.SIMPLETEXT_CONFIGURATION",
        [
            {
                "placeholders": ["first", "second"],
                "ckeditor": "TEST_CONFIGURATION",
                "max_length": max_length,
            },
            {
                "placeholders": ["first"],
                "ckeditor": "WRONG_CONFIGURATION",
                "max_length": 10,
            },
            {
                "placeholders": ["second"],
                "ckeditor": "WRONG_CONFIGURATION",
                "max_length": 20,
            },
        ],
    ):
        with override_settings(
            TEST_CONFIGURATION={"allowedContent": allowed_content}
        ):
            form_class = plugin.get_form(request, obj=simple_text)
    form = form_class()
    body_field = form.fields["body"]
    self.assertEqual(len(body_field.validators), 2)
    self.assertEqual(body_field.validators[1].limit_value, max_length)
    self.assertEqual(
        body_field.widget.configuration["allowedContent"], allowed_content
    )