'C{writeSequence} sends the data even if C{write} hasn\'t been called.'

def test_writeSequeceWithoutWrite(self):

    def connected(protocols):
        (client, server, port) = protocols
        def dataReceived(data):
            log.msg(('data    received:    %r' % data))
            self.assertEqual(data, 'Some    sequence    splitted')
            client.transport.loseConnection()
        server.dataReceived = dataReceived
        client.transport.writeSequence(['Some    ', 'sequence    ', 'splitted'])
    reactor = self.buildReactor()
    d = self.getConnectedClientAndServer(reactor, '127.0.0.1', socket.AF_INET)
    d.addCallback(connected)
    d.addErrback(log.err)
    self.runReactor(reactor)
