def METHOD_NAME(self):
    artifact_file = ArtifactFileData(
        file_path="to/file1",
        file_hash="2f249230a8e7c2bf6005ccd2679259ec",
        type=ArtifactFileType.S3.value,
        metadata={"location": f"s3://{self.bucket_name}/path/to/file1"},
    )
    with tempfile.TemporaryDirectory() as temporary:
        local_destination = Path(temporary) / "target.txt"
        S3ArtifactDriver.download_file(destination=local_destination, file_definition=artifact_file)
        self.assertEqual("2f249230a8e7c2bf6005ccd2679259ec", md5(local_destination))