def test_addInvalidPhase(self):
        self.assertRaises(
            KeyError,
            self.event.addTrigger, 'xxx', self.trigger, self.arg)
L{_ThreePhaseEvent.addTrigger} should raise L{KeyError} when called
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_internet.py/ThreePhaseEventTests.test_addInvalidPhase