code: def test_ngc_download_bundle(
      self,
      bundle_name,
      version,
      remove_prefix,
      download_name,
      file_path,
      hash_val,
  ):
      with skip_if_downloading_fails():
          with tempfile.TemporaryDirectory() as tempdir:
              download(
                  name=bundle_name,
                  source="ngc",
                  version=version,
                  bundle_dir=tempdir,
                  remove_prefix=remove_prefix,
              )
              full_file_path = os.path.join(
                  tempdir, download_name, file_path
              )
              self.assertTrue(os.path.exists(full_file_path))
              self.assertTrue(
                  check_hash(filepath=full_file_path, val=hash_val)
              )
  
              model = load(
                  name=bundle_name,
                  source="ngc",
                  version=version,
                  bundle_dir=tempdir,
                  remove_prefix=remove_prefix,
                  return_state_dict=False,
              )
              assert_allclose(
                  model.state_dict()[TESTCASE_WEIGHTS["key"]],
                  TESTCASE_WEIGHTS["value"],
                  atol=1e-4,
                  rtol=1e-4,
                  type_test=False,
              )
  
imports: from __future__ import annotations
  import os
  import sys
  import tempfile
  import unittest
  import torch
  from parameterized import parameterized
  from monai.apps import check_hash
  from monai.apps.mmars import MODEL_DESC, load_from_mmar
  from monai.bundle import download, load
  from monai.config import print_debug_info
  from monai.networks.utils import copy_model_state
  from tests.utils import assert_allclose, skip_if_downloading_fails, skip_if_quick, skip_if_windows
label_desc: Use image node_id 1 for calling the TestNgcBundleDownload obj's underlying member method code with example usage: obj.test_ngc_download_bundle(bundle_name, version, remove_prefix, download_name, file_path, hash_val) without return types