'migrate replicated volume should be failed.'

def test_migrate_replicated_volume(self):

    self.driver = FakeDS8KProxy(self.storage_info, self.logger, self.exception, self)
    self.driver.setup(self.ctxt)
    self.driver._update_stats()
    vol_type = volume_types.create(self.ctxt, 'VOL_TYPE', {'replication_enabled': '<is>    True'})
    location = six.text_type({'vol_hex_id': TEST_VOLUME_ID})
    data = json.dumps({TEST_TARGET_DS8K_IP: {'vol_hex_id': TEST_VOLUME_ID}})
    volume = self._create_volume(volume_type_id=vol_type.id, provider_location=location, replication_driver_data=data)
    backend = {'host': 'host@backend#pool_id', 'capabilities': {'extent_pools': TEST_POOL_ID_1, 'serial_number': TEST_SOURCE_SYSTEM_UNIT, 'vendor_name': 'IBM', 'storage_protocol': 'fibre_channel'}}
    self.assertRaises(exception.VolumeDriverException, self.driver.migrate_volume, self.ctxt, volume, backend)
