'``ClusterStatusCommand`` sent to the ``AgentClient`` result in agent
having cluster state updated.'

def test_cluster_updated(self):

    actual = DeploymentState(nodes=[])
    d = self._send_cluster_status(_TEST_DEPLOYMENT, actual)
    self.assertEqual(self.successResultOf(d), dict(current_configuration_generation=make_generation_hash(_TEST_DEPLOYMENT), current_state_generation=make_generation_hash(actual)))
    self.assertEqual(self.agent, FakeAgent(is_connected=True, client=self.client, desired=_TEST_DEPLOYMENT, cluster_updated_count=1, actual=actual))
