code: def test_check_arguments(self):
      b2 = C.Caffe2Backend()
  
      node_def = make_node("Add", inputs=["X", "Y"], outputs=["Z"])
      b2.convert_node(node_def.SerializeToString())
  
      bad_node_def = make_node(
          "Add", inputs=["X", "Y"], outputs=["Z"], foo=42, bar=56
      )
      with self.assertRaisesRegex(
          RuntimeError,
          "Don't know how to map unexpected argument (foo|bar)",
      ):
          b2.convert_node(bad_node_def.SerializeToString())
  
imports: import os
  import unittest
  from caffe2.python import core
  from caffe2.proto import caffe2_pb2
  import onnx
  from onnx.helper import make_node, make_graph, make_tensor, make_tensor_value_info, make_model
  from caffe2.python.onnx.helper import c2_native_run_net, c2_native_run_op
  from onnx import mapping
  import caffe2.python.onnx.frontend
  import caffe2.python.onnx.backend
  import numpy
  from caffe2.python.models.download import ModelDownloader
  from caffe2.python.onnx.tests.test_utils import TestCase
  import caffe2.python._import_c_extension
label_desc: Use image node_id 2 for calling the TestCaffe2Basic obj's underlying member method code with example usage: obj.test_check_arguments() without return types