'A configuration change results in connected protocols being notified
of new cluster status.'

def test_configuration_change(self):

    agent = FakeAgent()
    client = AgentAMP(Clock(), agent)
    service_clock = Clock()
    service = build_control_amp_service(self, service_clock)
    service.startService()
    server = LoopbackAMPClient(client.locator)
    service.connected(server)
    service.configuration_service.save(_TEST_DEPLOYMENT)
    service_clock.advance((CONTROL_SERVICE_BATCHING_DELAY * 2))
    self.assertEqual(dict(configuration=_TEST_DEPLOYMENT, state=DeploymentState()), dict(configuration=agent.desired, state=agent.actual))
