def METHOD_NAME():
  # -- Configure the argument parser
  parser = argparse.ArgumentParser(formatter_class=RawDescriptionHelpFormatter, description='description:\n  Unit test wrapper for the SmartNic section')
  parser.add_argument('--resource-dir', nargs='?', default=".", help='directory containing data to be used by this unit test')
  args = parser.parse_args()
  # Validate that the resource directory is valid
  if not os.path.exists(args.resource_dir):
      raise Exception("Error: The resource-dir '" + args.resource_dir +"' does not exist")
  if not os.path.isdir(args.resource_dir):
      raise Exception("Error: The resource-dir '" + args.resource_dir +"' is not a directory")
  # Prepare for testing
  xclbinutil = "xclbinutil"
  # Start the tests
  print ("Starting test")
  # ---------------------------------------------------------------------------
  step = "1) Read in the JSON file, write out the CBOR image, and write out the JSON-to-CBOR-to-JSON file"
  inputJSON = os.path.join(args.resource_dir, "smartnic_all_format.json")
  expectedJSON = os.path.join(args.resource_dir,"smartnic_all_format_expected.json")
  outputJSON = "smartnic_all_format_output.json"
  outputCBOR = "smartnic_all_format_output.cbor"
  cmd = [xclbinutil, "--add-section", "SMARTNIC:JSON:" + inputJSON, "--dump-section", "SMARTNIC:RAW:" + outputCBOR, "--dump-section", "SMARTNIC:JSON:" + outputJSON, "--force"]
  execCmd(step, cmd)
  # Validate that the round trip files are identical
  jsonFileCompare(expectedJSON, outputJSON)
  # ---------------------------------------------------------------------------
  step = "2) Read in the byte files, merge them into the in memory CBOR image, write out the CBOR image, and write out the JSON-to-CBOR-to-JSON file"
  inputJSON = os.path.join(args.resource_dir, "smartnic_relative_bytefiles.json")
  outputJSON = "smartnic_relative_bytefiles_output.json"
  outputCBOR = "smartnic_relative_bytefiles_output.cbor"
  expectedJSON = os.path.join(args.resource_dir,"smartnic_relative_bytefiles_expected.json")
  cmd = [xclbinutil, "--add-section", "SMARTNIC:JSON:"+inputJSON, "--dump-section", "SMARTNIC:RAW:"+outputCBOR, "--dump-section", "SMARTNIC:JSON:"+outputJSON, "--force"]
  execCmd(step, cmd)
  # Validate that the output file matches expectation
  jsonFileCompare(expectedJSON, outputJSON)
  # ---------------------------------------------------------------------------
  step = "3) Read in a raw cbor image and validate it against the expected JSON image."
  inputCBOR = os.path.join(args.resource_dir, "cbor_image.raw")
  outputJSON = "cbor_image.json"
  expectedJSON = os.path.join(args.resource_dir,"cbor_image_expected.json")
  cmd = [xclbinutil, "--add-section", "SMARTNIC:RAW:"+inputCBOR, "--dump-section", "SMARTNIC:JSON:"+outputJSON, "--force"]
  execCmd(step, cmd)
  # Validate that the output file matches expectation
  jsonFileCompare(expectedJSON, outputJSON)
  # If the code gets this far, all is good.
  return False