code: def get_mock_veri_dataset(root_dir: str, meta_file: str):
      """Get the mocked dataset for VoxCeleb1Verification dataset.
  
      Args:
          root_dir (str): Directory to the mocked dataset
          meta_file (str): The file name which stores the file list.
  
      Returns:
          List[Sample]:
          The mocked samples.
      """
      os.makedirs(root_dir, exist_ok=True)
      wav_dir = os.path.join(root_dir, "wav")
      os.makedirs(wav_dir, exist_ok=True)
  
      mocked_samples = []
      sample_rate = 16000
      seed = 0
      idx = 1
  
      with open(os.path.join(root_dir, meta_file), "w") as f:
          for speaker_id1 in range(_NUM_SPEAKERS):
              for speaker_id2 in range(_NUM_SPEAKERS):
                  for youtube_id in range(_NUM_YOUTUBE):
                      (
                          waveform_spk1,
                          sample_rate,
                          _,
                          file_name_spk1,
                          file_path_spk1,
                      ) = _save_sample(
                          wav_dir,
                          sample_rate,
                          speaker_id1,
                          youtube_id,
                          idx,
                          seed,
                      )
                      (
                          waveform_spk2,
                          sample_rate,
                          _,
                          file_name_spk2,
                          file_path_spk2,
                      ) = _save_sample(
                          wav_dir,
                          sample_rate,
                          speaker_id1,
                          youtube_id,
                          idx + 1,
                          seed,
                      )
                      if speaker_id1 == speaker_id2:
                          label = 1
                      else:
                          label = 0
                      sample = (
                          waveform_spk1,
                          waveform_spk2,
                          sample_rate,
                          label,
                          file_name_spk1,
                          file_name_spk2,
                      )
                      mocked_samples.append(sample)
                      f.write(
                          f"{label} {file_path_spk1} {file_path_spk2}\n"
                      )
                      idx += 2
      return mocked_samples
  
file_path: audio/test/torchaudio_unittest/datasets/voxceleb1_test.py
imports: import os
  from torchaudio.datasets import voxceleb1
  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_veri_dataset(root_dir, meta_file) and returns: mocked_samples