def _subscribe_mock(self, signal_name, weak):
callback = mock.Mock()<EOL>decorator = self.model.subscribe(signal_name, weak)<EOL>return decorator(callback)<EOL>
Create a mock callback function and subscribe it to the specific
        signal on ``self.model``.