'L{internet._AbstractServer} supports a C{reactor} keyword argument
that can be used to parametrize the reactor used to listen for
connections.'

def test_reactorParametrizationInServer(self):

    reactor = MemoryReactor()
    factory = object()
    t = internet.TCPServer(1234, factory, reactor=reactor)
    t.startService()
    self.assertEqual(reactor.tcpServers.pop()[:2], (1234, factory))
