'Like L{test_reactorParametrizationInClient}, but stop and restart the
service and check that the given reactor is still used.'

def test_reactorParametrizationInClientMultipleStart(self):

    reactor = MemoryReactor()
    factory = protocol.ClientFactory()
    t = internet.TCPClient('127.0.0.1', 1234, factory, reactor=reactor)
    t.startService()
    self.assertEqual(reactor.tcpClients.pop()[:3], ('127.0.0.1', 1234, factory))
    t.stopService()
    t.startService()
    self.assertEqual(reactor.tcpClients.pop()[:3], ('127.0.0.1', 1234, factory))
