def METHOD_NAME(self):
    with tempfile.TemporaryDirectory() as tempdir:
        test_data = {
            "name": "ChestXRay",
            "description": "Chest X-ray classification",
            "labels": {"0": "background", "1": "chest"},
            "training": [{"image": "chest_19.nii.gz", "label": 0}, {"image": "chest_31.nii.gz", "label": 1}],
            "test": ["chest_15.nii.gz", "chest_23.nii.gz"],
        }
        json_str = json.dumps(test_data)
        file_path = os.path.join(tempdir, "test_data.json")
        with open(file_path, "w") as json_file:
            json_file.write(json_str)
        result = load_decathlon_datalist(file_path, False, "training", tempdir)
        self.assertEqual(result[0]["image"], os.path.join(tempdir, "chest_19.nii.gz"))
        self.assertEqual(result[0]["label"], 0)