def METHOD_NAME(self, mock_req):
    fake_data = DatasetFactory(id='61fd30cb29ea95c7bc0e1211')
    reindex.run(*as_task_param(fake_data))
    search_service_url = current_app.config['SEARCH_SERVICE_API_URL']
    url = f'{search_service_url}{DatasetSearch.search_url}/{str(fake_data.id)}/unindex'
    mock_req.assert_called_with(url)