'Test Delete volume with replication'

@mock.patch('cinder.volume.drivers.ibm.ibm_storage.xiv_replication.VolumeReplication.delete_replication', mock.MagicMock())
@mock.patch('cinder.volume.drivers.ibm.ibm_storage.xiv_proxy.XIVProxy._get_extra_specs', mock.MagicMock(return_value=TEST_EXTRA_SPECS_REPL))
def test_delete_volume_with_replication(self):

    driver = mock.MagicMock()
    driver.VERSION = 'VERSION'
    p = self.proxy(self.default_storage_info, mock.MagicMock(), test_mock.cinder.exception, driver)
    p.ibm_storage_cli = mock.MagicMock()
    volume = {'size': 16, 'name': 'WTF32', 'volume_type_id': 'WTF'}
    p.delete_volume(volume)
