def METHOD_NAME(self):
    dialog_watcher = DialogWatcher(
        translate("AddonsInstaller", "Uninstall failed"),
        QtWidgets.QDialogButtonBox.Ok,
    )
    self.uninstaller_gui._failed(
        self.addon_to_remove, "Some failure message\nAnother failure message"
    )
    self.assertTrue(dialog_watcher.dialog_found, "Failed to find the expected dialog box")
    self.assertTrue(dialog_watcher.button_found, "Failed to find the expected button")