code: def test_Surface2VolTransform_inputs():
      input_map = dict(
          args=dict(
              argstr="%s",
          ),
          environ=dict(
              nohash=True,
              usedefault=True,
          ),
          hemi=dict(
              argstr="--hemi %s",
              mandatory=True,
          ),
          mkmask=dict(
              argstr="--mkmask",
              xor=["source_file"],
          ),
          projfrac=dict(
              argstr="--projfrac %s",
          ),
          reg_file=dict(
              argstr="--volreg %s",
              extensions=None,
              mandatory=True,
              xor=["subject_id"],
          ),
          source_file=dict(
              argstr="--surfval %s",
              copyfile=False,
              extensions=None,
              mandatory=True,
              xor=["mkmask"],
          ),
          subject_id=dict(
              argstr="--identity %s",
              xor=["reg_file"],
          ),
          subjects_dir=dict(
              argstr="--sd %s",
          ),
          surf_name=dict(
              argstr="--surf %s",
          ),
          template_file=dict(
              argstr="--template %s",
              extensions=None,
          ),
          transformed_file=dict(
              argstr="--outvol %s",
              extensions=None,
              hash_files=False,
              name_source=["source_file"],
              name_template="%s_asVol.nii",
          ),
          vertexvol_file=dict(
              argstr="--vtxvol %s",
              extensions=None,
              hash_files=False,
              name_source=["source_file"],
              name_template="%s_asVol_vertex.nii",
          ),
      )
      inputs = Surface2VolTransform.input_spec()
  
      for key, metadata in list(input_map.items()):
          for metakey, value in list(metadata.items()):
              assert getattr(inputs.traits()[key], metakey) == value
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_Surface2VolTransform_inputs() without return types