anchor.diff:                      }
                   ],
                   handle_workflow_execution_stopped = #atm_step_mock_spec{
  -                    after_step_exp_state_diff = fun(#atm_mock_call_ctx{workflow_execution_exp_state = ExpState0}) ->
  -                        {true, expect_workflow_execution_suspended(SuspendMethod, ExpState0)}
  -                    end
  +                    after_step_exp_state_diff = [build_workflow_suspended_expectation(SuspendedStatus)]
                   },
                   after_hook = fun atm_workflow_execution_test_utils:resume_workflow_execution/1
               },
  
positive.code: 
  
  %% @private
  interrupt_workflow_execution(AtmMockCallCtx) ->
      atm_workflow_execution_test_utils:stop_workflow_execution(interrupt, AtmMockCallCtx).
  
  
  %% @private
  get_suspend_hook(pause) -> fun atm_workflow_execution_test_utils:pause_workflow_execution/1;
  get_suspend_hook(interrupt) -> fun interrupt_workflow_execution/1.
  
  
  %% @private
  expect_lane_run_suspended(pause, AtmLaneRunSelector, ExpState) ->
      atm_workflow_execution_exp_state_builder:expect_lane_run_paused(AtmLaneRunSelector, ExpState);
  expect_lane_run_suspended(interrupt, AtmLaneRunSelector, ExpState) ->
      atm_workflow_execution_exp_state_builder:expect_lane_run_interrupted(AtmLaneRunSelector, ExpState).
  
  
  %% @private
  expect_workflow_execution_suspended(pause, ExpState) ->
      atm_workflow_execution_exp_state_builder:expect_workflow_execution_paused(ExpState);
  expect_workflow_execution_suspended(interrupt, ExpState) ->
      atm_workflow_execution_exp_state_builder:expect_workflow_execution_interrupted(ExpState).
  
  
  %% @private
  build_failed_atm_lane1_run_execution_test_spec(
      AtmLaneRunSelector, ExpTask1FinalStats, ExpTask2FinalStats, ExpExceptionStoreContent, IsLastExpLaneRun
  ) ->
      #atm_lane_run_execution_test_spec{
          selector = AtmLaneRunSelector,
          process_task_result_for_item = 'build mock spec for process_task_result_for_item step'(),
          handle_task_execution_stopped = 'build mock for handle_task_execution_stopped step'(
              ExpTask1FinalStats, ExpTask2FinalStats
          ),
          handle_lane_execution_stopped = 'build mock for handle_lane_execution_stopped step'(
              AtmLaneRunSelector, ExpExceptionStoreContent, IsLastExpLaneRun
          )
      }.
  
  
  %% @private
  'build mock spec for process_task_result_for_item step'() ->
      #atm_step_mock_spec{
          after_step_exp_state_diff = fun(#atm_mock_call_ctx{
              workflow_execution_exp_state = ExpState0,
  
negative.code:                     }
                  ],
                  handle_workflow_execution_stopped = #atm_step_mock_spec{
                      after_step_exp_state_diff = [
                          {lane_runs, [{1, 1}, {1, 2}, {1, 3}], rerunable},
                          {lane_runs, [{1, 1}, {1, 2}, {1, 3}], retriable},
                          workflow_failed
                      ]
                  }
              }
          ]
  