code: def test_BRAINSSnapShotWriter_inputs():
      input_map = dict(
          args=dict(
              argstr="%s",
          ),
          environ=dict(
              nohash=True,
              usedefault=True,
          ),
          inputBinaryVolumes=dict(
              argstr="--inputBinaryVolumes %s...",
          ),
          inputPlaneDirection=dict(
              argstr="--inputPlaneDirection %s",
              sep=",",
          ),
          inputSliceToExtractInIndex=dict(
              argstr="--inputSliceToExtractInIndex %s",
              sep=",",
          ),
          inputSliceToExtractInPercent=dict(
              argstr="--inputSliceToExtractInPercent %s",
              sep=",",
          ),
          inputSliceToExtractInPhysicalPoint=dict(
              argstr="--inputSliceToExtractInPhysicalPoint %s",
              sep=",",
          ),
          inputVolumes=dict(
              argstr="--inputVolumes %s...",
          ),
          outputFilename=dict(
              argstr="--outputFilename %s",
              hash_files=False,
          ),
      )
      inputs = BRAINSSnapShotWriter.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_BRAINSSnapShotWriter_inputs() without return types