code: def _mock_trajectory_record(id: int, values: List[int]):
      t = SpacesTrajectoryRecord(id=id)
      t.step_records = [_mock_space_record(val) for val in values]
      return t
  
file_path: maze/maze/test/core/trajectory_recording/test_trajectory_record.py
imports: from typing import List
  import numpy
  from maze.core.env.structured_env import ActorID
  from maze.core.trajectory_recording.records.spaces_record import SpacesRecord
  from maze.core.trajectory_recording.records.structured_spaces_record import StructuredSpacesRecord
  from maze.core.trajectory_recording.records.trajectory_record import SpacesTrajectoryRecord
label_desc: Use image node_id 2 for calling a global function with example usage: _mock_trajectory_record(id, values) and returns: t