'delete_volume simple test case.'

def test_delete_volume(self):

    self._set_driver()
    drv = self._driver
    drv._ensure_share_mounted = mock.Mock()
    volume = fake_volume.fake_volume_obj(self.context, display_name='volume-123', provider_location=self.TEST_NFS_EXPORT1)
    with mock.patch.object(drv, 'local_path') as mock_local_path:
        mock_local_path.return_value = self.TEST_LOCAL_PATH
        drv.delete_volume(volume)
        mock_local_path.assert_called_with(volume)
        drv._execute.assert_called_once()
