'Ensure moving a plugin from placeholder A
registered with admin A calls the move plugin hooks
on the target placeholder\'s registered admin.'

def test_placeholder_post_move_hook_resolve(self):

    superuser = self.get_superuser()
    exception = PlaceholderHookException
    message = 'move    plugin    hook    has    been    called.'
    example_1 = self._obj
    source_placeholder = example_1.placeholder
    plugin = self._add_plugin_to_placeholder(source_placeholder)
    example_2 = CharPksExample.objects.create(char_1='one', slug='two')
    target_placeholder = example_2.placeholder_1
    with self.login_user_context(superuser):
        with self.assertRaisesMessage(exception, message):
            data = {'plugin_id': plugin.pk, 'placeholder_id': target_placeholder.pk, 'plugin_parent': ''}
            endpoint = self.get_move_plugin_uri(plugin, container=Example1)
            self.client.post(endpoint, data)
