'Attempting to move an ``Application`` that does not exist on the
cluster has no effect and therefore results in an identical
``Deployment`` instance to the one we started with.'

def test_move_non_existent_application(self):

    application = Application(name=u'mycontainer', image=DockerImage.from_string(u'busybox'))
    existing_application = Application(name=u'realbusybox', image=DockerImage.from_string(u'busybox'))
    nodes = [Node(hostname=u'192.0.2.1', applications={existing_application.name: existing_application}), Node(hostname=u'192.0.2.2', applications={})]
    original = Deployment(nodes=nodes)
    updated = original.move_application(application, nodes[1])
    self.assertEqual(original, updated)
