'Bytes written to L{TLSMemoryBIOProtocol} after C{loseConnection} is
called are not transmitted (unless there is a registered producer,
which will be tested elsewhere).'

def test_writeAfterLoseConnection(self):

    data = 'some    bytes'
    class SimpleSendingProtocol(Protocol, ):
        def connectionMade(self):
            self.transport.write(data)
            self.transport.loseConnection()
            self.transport.write('hello')
            self.transport.writeSequence(['world'])
    return self.writeBeforeHandshakeTest(SimpleSendingProtocol, data)
