code: def mock_get_inode(inode):
      def get_inode_mocked(_):
          return inode
  
      return get_inode_mocked
  
file_path: dvc/tests/func/test_state.py
imports: import os
  from dvc_data.hashfile.hash import file_md5
  from dvc_data.hashfile.hash_info import HashInfo
  from dvc_data.hashfile.state import State
label_desc: Use image node_id 3 for calling a global function with example usage: mock_get_inode(inode) and returns: get_inode_mocked, inode