code: def get_mock_datasets(root_dir):
      """
      root_dir: directory to the mocked dataset
      """
      mocked_data_10min, mocked_data_1h, mocked_data_10h = [], [], []
      dataset_dir = os.path.join(
          root_dir, "librispeech_finetuning", "1h", "0"
      )
      os.makedirs(dataset_dir, exist_ok=True)
      mocked_data_10min = get_mock_dataset(dataset_dir)
      mocked_data_1h += mocked_data_10min
      for i in range(1, 6):
          dataset_dir = os.path.join(
              root_dir, "librispeech_finetuning", "1h", str(i)
          )
          os.makedirs(dataset_dir, exist_ok=True)
          mocked_data_1h += get_mock_dataset(dataset_dir)
      mocked_data_10h += mocked_data_1h
  
      dataset_dir = os.path.join(
          root_dir, "librispeech_finetuning", "9h"
      )
      os.makedirs(dataset_dir, exist_ok=True)
      mocked_data_10h += get_mock_dataset(dataset_dir)
  
      return mocked_data_10min, mocked_data_1h, mocked_data_10h
  
file_path: audio/test/torchaudio_unittest/datasets/librilightlimited_test.py
imports: import os
  from torchaudio.datasets import librilight_limited
  from torchaudio_unittest.common_utils import get_whitenoise, save_wav, TempDirMixin, TorchaudioTestCase
label_desc: Use image node_id 3 for calling a global function with example usage: get_mock_datasets(root_dir) and returns: mocked_data_10min,  mocked_data_1h,  mocked_data_10h