'The reactor can be stopped by a client factory\'s
C{clientConnectionFailed} method.'

def test_clientConnectionFailedStopsReactor(self):

    reactor = self.buildReactor()
    needsRunningReactor(reactor, (lambda : self.connect(reactor, Stop(reactor))))
    self.runReactor(reactor)
