'L{twisted.conch.scripts.cftp.SSHSession.eofReceived} loses the write
half of its stdio connection.'

def test_eofReceived(self):

    stdio = FakeStdio()
    channel = SSHSession()
    channel.stdio = stdio
    channel.eofReceived()
    self.assertTrue(stdio.writeConnLost)
