'L{_ThreePhaseEvent.addTrigger} should raise L{KeyError} when called
with an invalid phase.'

def test_addInvalidPhase(self):

    self.assertRaises(KeyError, self.event.addTrigger, 'xxx', self.trigger, self.arg)
