'L{_ThreePhaseEvent.addTrigger} should accept C{\'before\'} as a phase, a
callable, and some arguments and add the callable with the arguments to
the before list.'

def test_addBeforeTrigger(self):

    self.event.addTrigger('before', self.trigger, self.arg)
    self.assertEqual(self.event.before, [(self.trigger, (self.arg,), {})])
