'``RemoteVolumeManager.acquire()`` calls ``flocker-volume`` remotely
with ``acquire`` command.'

def test_acquire_destination_run(self):

    node = FakeNode(['remoteuuid'])
    remote = RemoteVolumeManager(node, FilePath('/path/to/json'))
    remote.acquire(self.volume)
    self.assertEqual(node.remote_command, ['flocker-volume', '--config', '/path/to/json', 'acquire', self.volume.node_id.encode('ascii'), 'myns.myvol'])
