def test_permission_from_list_to_list(self):
        expected = ['MANAGE_WEBHOOKS', 'USE_EXTERNAL_EMOJIS']

        permission = Permission(['MANAGE_WEBHOOKS', 'USE_EXTERNAL_EMOJIS'])
        actual = permission.to_list()

        self.assertListEqual(sorted(actual), sorted(expected))