'Normal case: Copy with dd and extend the size afterward.'

@mock.patch.object(volume_utils, 'copy_volume', side_effect=_copy_volume)
@mock.patch.object(utils, 'brick_get_connector_properties', side_effect=_brick_get_connector_properties)
@mock.patch.object(utils, 'brick_get_connector', side_effect=mock.MagicMock())
@mock.patch.object(vsp_utils, 'execute', side_effect=_execute)
@mock.patch.object(brick_connector.ISCSIConnector, 'connect_volume', _connect_volume)
@mock.patch.object(brick_connector.ISCSIConnector, 'disconnect_volume', _disconnect_volume)
def test_create_cloned_volume_with_dd_extend_size(self, execute, brick_get_connector, brick_get_connector_properties, copy_volume):

    vol = self.driver.create_cloned_volume(TEST_VOLUME[1], TEST_VOLUME[5])
    self.assertEqual('1', vol['provider_location'])
