code: def test_get_file_content_from_dataset_folder(mock_get_path):
      expected = "Mocked file content"
      mock_path = mock.create_autospec(epath.Path)
      mock_path.read_text.return_value = expected
      mock_get_path.return_value = mock_path
      actual = dcb.get_file_content_from_dataset_folder(
          dataset_class=None, file_name="anything"
      )
      mock_get_path.assert_called_once_with(None, "anything")
      assert actual == expected
  
file_path: datasets/tensorflow_datasets/core/dataset_collection_builder_test.py
imports: from unittest import mock
  from etils import epath
  import pytest
  from tensorflow_datasets import testing
  from tensorflow_datasets.core import dataset_collection_builder
  from tensorflow_datasets.core.utils import version
label_desc: Use image node_id 1 for calling a global function with example usage: test_get_file_content_from_dataset_folder(mock_get_path) without return types