def METHOD_NAME(self, idx):
    with skip_if_downloading_fails():
        with self.assertLogs(level="INFO", logger="monai.apps"):
            download_mmar(idx)
        download_mmar(idx, progress=False)  # repeated to check caching
        with tempfile.TemporaryDirectory() as tmp_dir:
            download_mmar(idx, mmar_dir=tmp_dir, progress=False)
            download_mmar(idx, mmar_dir=Path(tmp_dir), progress=False, version=1)  # repeated to check caching
            self.assertTrue(os.path.exists(os.path.join(tmp_dir, idx)))