def METHOD_NAME(self):
    """Test the running connect task (pause)."""
    task = ConnectTaskRunner(self.scan_job, self.scan_task)
    status = task.run(Value("i", ScanJob.JOB_TERMINATE_PAUSE))
    self.assertEqual(status[1], ScanTask.PAUSED)