'Getting an attribute marked as being deprecated on
L{twisted.python.deprecate._ModuleProxy} results in calling the
deprecated wrapper\'s C{get} method.'

def test_getattrIntercept(self):

    proxy = self._makeProxy()
    _deprecatedAttributes = object.__getattribute__(proxy, '_deprecatedAttributes')
    _deprecatedAttributes['foo'] = _MockDeprecatedAttribute(42)
    self.assertEqual(proxy.foo, 42)
