def METHOD_NAME(self):
    self.uninstaller_gui.finished.connect(functools.partial(self.catch_signal, "finished"))
    self.uninstaller_gui.worker_thread = MockThread()
    self.uninstaller_gui._finalize()
    self.assertIn("finished", self.signals_caught)