def METHOD_NAME(self):
    from ZODB._compat import dumps
    from ZODB.utils import get_pickle_metadata
    pickle = dumps(ExampleClass, protocol=2)
    self.assertEqual(get_pickle_metadata(pickle),
                     (__name__, ExampleClass.__name__))