code: def test_get_custom_build_selector_with_allowlist(
      self,
      mock_gen_unboxing: NonCallableMock,
      mock_make_file_manager: NonCallableMock,
      mock_parse_native_yaml: NonCallableMock,
      mock_get_custom_build_selector: NonCallableMock,
  ) -> None:
      args = [
          "--op-registration-allowlist=op1",
          "--op-selection-yaml-path=path2",
      ]
      gen_unboxing.main(args)
      mock_get_custom_build_selector.assert_called_once_with(
          ["op1"], "path2"
      )
  
file_path: pytorch/tools/jit/test/test_gen_unboxing.py
imports: import tempfile
  import unittest
  from unittest.mock import NonCallableMock, patch
  import tools.jit.gen_unboxing
label_desc: Use image node_id 1 for calling the TestGenUnboxing obj's underlying member method code with example usage: obj.test_get_custom_build_selector_with_allowlist(mock_gen_unboxing, mock_make_file_manager, mock_parse_native_yaml, mock_get_custom_build_selector) without return types