'``ClusterStateService.as_deployment`` copies applications from the
given node state.'

def test_applications(self):

    service = self.service()
    service.apply_changes([self.WITH_APPS])
    self.assertEqual(service.as_deployment(), DeploymentState(nodes=[self.WITH_APPS]))
