def METHOD_NAME(self):
    self.c.opts.accept_defaults = True
    with patch.object(self.c.plugin, 'prompts') as prompts:
        prompts.return_value = [
            Prompt('symlink', 'symlink hooks?', 'y', 'bool')]
        config = self.c._get_user_config()
        self.assertEqual(config, {'symlink': True})