'Adds a callback of the given name, setting C{self.called[name]} to
C{True} when called.'

def _addCallback(self, name):

    def callback(*a, **kw):
        self.called[name] = True
    setattr(self, name, callback)
