def METHOD_NAME(self):
    # dnf.callback.Payload.download_size
    download_progress = dnf.callback.DownloadProgress()
    payload = dnf.callback.Payload(progress=download_progress)
    self.assertHasAttr(payload, "download_size")
    self.assertHasType(payload.download_size, object)