'Bytes written to L{TLSMemoryBIOProtocol} with C{writeSequence} are
received by the protocol on the other side of the connection.'

def test_writeSequence(self):

    data = 'some    bytes'
    class SimpleSendingProtocol(Protocol, ):
        def connectionMade(self):
            self.transport.writeSequence(list(iterbytes(data)))
    return self.writeBeforeHandshakeTest(SimpleSendingProtocol, data)
