def METHOD_NAME(self):
    self.thread_pool_executor_patch = patch("samcli.lib.sync.sync_flow_executor.ThreadPoolExecutor")
    self.thread_pool_executor_mock = self.thread_pool_executor_patch.start()
    self.thread_pool_executor = self.thread_pool_executor_mock.return_value
    self.thread_pool_executor.__enter__.return_value = self.thread_pool_executor
    self.lock_distributor_patch = patch("samcli.lib.sync.sync_flow_executor.LockDistributor")
    self.lock_distributor_mock = self.lock_distributor_patch.start()
    self.lock_distributor = self.lock_distributor_mock.return_value
    self.executor = ContinuousSyncFlowExecutor()