code: def test_retrieve_text():
      def mock_get(uri, headers):
          class MockResponse:
              def json(self):
                  return dict(body_text=[dict(text="test")])
  
          return MockResponse()
  
      with patch(
          "recommenders.datasets.covid_utils.requests.get",
          side_effect=mock_get,
      ):
          result = retrieve_text(
              entry=dict(pdf_json_files="a"), container_name="test"
          )
      assert "test" == result
  
file_path: recommenders/tests/data_validation/recommenders/datasets/test_covid_utils.py
imports: from unittest.mock import patch
  import pytest
  from recommenders.datasets.covid_utils import remove_duplicates, remove_nan, clean_dataframe, retrieve_text, get_public_domain_text
  import numpy
  import pandas
label_desc: Use image node_id 5 for calling a global function with example usage: test_retrieve_text() and returns: MockResponse, dict