def test_eofReceived(self):
        stdio = FakeStdio()
        channel = SSHSession()
        channel.stdio = stdio
        channel.eofReceived()
        self.assertTrue(stdio.writeConnLost)
L{twisted.conch.scripts.cftp.SSHSession.eofReceived} loses the write
dataset/ETHPy150Open twisted/twisted/twisted/conch/test/test_cftp.py/SSHSessionTests.test_eofReceived