def METHOD_NAME(*signals):
    __tracebackhide__ = True
    msg = 'Signal "{0}" should have been emitted'
    def callback(name, handler):
        assert handler.called, msg.format(name)
    with mock_signals(callback, *signals):
        yield