'``VolumeService.handoff()`` errbacks with a ``ValueError`` if given a
remotely-owned volume.'

def test_handoff_rejects_remote_volume(self):

    service = create_volume_service(self)
    remote_volume = Volume(node_id=u'remote', name=MY_VOLUME, service=service)
    self.failureResultOf(service.handoff(remote_volume, None), ValueError)
