'When the connection limit is reached, the server should send an
appropriate response'

def test_tooManyConnections(self):

    self.factory.connectionLimit = 1
    cc = protocol.ClientCreator(reactor, _BufferingProtocol)
    d = cc.connectTCP('127.0.0.1', self.port.getHost().port)
    @d.addCallback
    def gotClient(proto):
        return proto.d
    @d.addCallback
    def onConnectionLost(proto):
        self.assertEqual('421    Too    many    users    right    now,    try    again    in    a    few    minutes.\r\n', proto.buffer)
    return d
