'L{installReactor} installs a new reactor if none is present.'

def test_installReactor(self):

    with NoReactor():
        newReactor = object()
        installReactor(newReactor)
        from twisted.internet import reactor
        self.assertIs(newReactor, reactor)
