'SSHSession.closed() should tell the transport connected to the client
that the connection was lost.'

def test_client_closed(self):

    self.session.client = StubClient()
    self.session.closed()
    self.assertTrue(self.session.client.transport.close)
    self.session.client.transport.close = False
