def test_version_meta_deprecated(self):
        schema = {'mergeStrategy': 'version'}
        merger = jsonmerge.Merger(schema)

        with warnings.catch_warnings(record=True) as w:
            base = merger.merge(None, 'a', meta={'foo': 'bar'})

            self.assertEqual(len(w), 1)
            self.assertTrue(issubclass(w[0].category, DeprecationWarning))