'The information from multiple hosts is combined by
``ClusterStateService.as_deployment``.'

def test_multiple_hosts(self):

    service = self.service()
    service.apply_changes([NodeState(hostname=u'host1', applications={APP1.name: APP1}), NodeState(hostname=u'host2', applications={APP2.name: APP2})])
    self.assertEqual(service.as_deployment(), DeploymentState(nodes=[NodeState(hostname=u'host1', applications={APP1.name: APP1}), NodeState(hostname=u'host2', applications={APP2.name: APP2})]))
