def METHOD_NAME(self):
    from traits.api import Interface
    class IFoo(Interface):
        pass
    obj = {}
    # Global `register_provides`.
    register_provides(dict, IFoo)
    self.assertEqual(obj, adapt(obj, IFoo))