'Fake L{IReactorCore.run}.
Keep track of trigger by appending it to
self.triggers[phase][eventType].'

def addSystemEventTrigger(self, phase, eventType, callable, *args, **kw):

    phaseTriggers = self.triggers.setdefault(phase, {})
    eventTypeTriggers = phaseTriggers.setdefault(eventType, [])
    eventTypeTriggers.append((callable, args, kw))
