'Connection lost events are passed on to the agent.'

def test_connection_lost(self):

    self.client.connectionLost(Failure(ConnectionLost()))
    self.assertEqual(self.agent, FakeAgent(is_connected=True, is_disconnected=True))
