anchor.diff:      update_exp_task_parallel_box_execution_state(AtmTaskExecutionId, Diff, ExpStateCtx).
   
   
  --spec expect_task_finished(atm_task_execution:id(), ctx()) ->
  -    ctx().
  -expect_task_finished(AtmTaskExecutionId, ExpStateCtx) ->
  -    expect_task_transitioned_to(AtmTaskExecutionId, <<"finished">>, ExpStateCtx).
  -
  -
  --spec expect_task_skipped(atm_task_execution:id(), ctx()) ->
  -    ctx().
  -expect_task_skipped(AtmTaskExecutionId, ExpStateCtx) ->
  -    expect_task_transitioned_to(AtmTaskExecutionId, <<"skipped">>, ExpStateCtx).
  -
  -
   -spec expect_task_failed(atm_task_execution:id(), ctx()) ->
       ctx().
   expect_task_failed(AtmTaskExecutionId, ExpStateCtx) ->
       expect_task_transitioned_to(AtmTaskExecutionId, <<"failed">>, ExpStateCtx).
   
   
  --spec expect_task_interrupted(atm_task_execution:id(), ctx()) ->
  -    ctx().
  -expect_task_interrupted(AtmTaskExecutionId, ExpStateCtx) ->
  -    expect_task_transitioned_to(AtmTaskExecutionId, <<"interrupted">>, ExpStateCtx).
  -
  -
  --spec expect_task_paused(atm_task_execution:id(), ctx()) -> ctx().
  -expect_task_paused(AtmTaskExecutionId, ExpStateCtx) ->
  -    expect_task_transitioned_to(AtmTaskExecutionId, <<"paused">>, ExpStateCtx).
  -
  -
  --spec expect_task_cancelled(atm_task_execution:id(), ctx()) ->
  -    ctx().
  -expect_task_cancelled(AtmTaskExecutionId, ExpStateCtx) ->
  -    expect_task_transitioned_to(AtmTaskExecutionId, <<"cancelled">>, ExpStateCtx).
  -
  -
  --spec expect_all_tasks_pending(atm_lane_execution:lane_run_selector(), ctx()) ->
  -    ctx().
  -expect_all_tasks_pending(AtmLaneRunSelector, ExpStateCtx) ->
  -    expect_all_tasks_transitioned_to(AtmLaneRunSelector, <<"pending">>, ExpStateCtx).
  -
  -
  --spec expect_all_tasks_active(atm_lane_execution:lane_run_selector(), ctx()) ->
  -    ctx().
  -expect_all_tasks_active(AtmLaneRunSelector, ExpStateCtx) ->
  -    expect_all_tasks_transitioned_to(AtmLaneRunSelector, <<"active">>, ExpStateCtx).
  -
  -
  --spec expect_all_tasks_skipped(atm_lane_execution:lane_run_selector(), ctx()) ->
  -    ctx().
  -expect_all_tasks_skipped(AtmLaneRunSelector, ExpStateCtx) ->
  -    expect_all_tasks_transitioned_to(AtmLaneRunSelector, <<"skipped">>, ExpStateCtx).
  -
  -
  --spec expect_all_tasks_paused(atm_lane_execution:lane_run_selector(), ctx()) ->
  -    ctx().
  -expect_all_tasks_paused(AtmLaneRunSelector, ExpStateCtx) ->
  -    expect_all_tasks_transitioned_to(AtmLaneRunSelector, <<"paused">>, ExpStateCtx).
  -
  -
   -spec expect_all_tasks_interrupted(atm_lane_execution:lane_run_selector(), ctx()) ->
       ctx().
   expect_all_tasks_interrupted(AtmLaneRunSelector, ExpStateCtx) ->
  
positive.code:         <<"isRetriable">> => IsRepeatable
      },
      update_exp_lane_runs_state(as_list(AtmLaneRunSelectors), ExpAtmLaneRunStateDiff, ExpStateCtx).
  
  
  -spec expect_lane_run_num_set(
      atm_lane_execution:lane_run_selector(),
      atm_lane_execution:run_num(),
      ctx()
  ) ->
      ctx().
  expect_lane_run_num_set(AtmLaneRunSelector, RunNum, ExpStateCtx) ->
      ExpAtmLaneRunStateDiff = #{<<"runNumber">> => RunNum},
      update_exp_lane_run_state(AtmLaneRunSelector, ExpAtmLaneRunStateDiff, ExpStateCtx).
  
  
  -spec expect_lane_run_removed(atm_lane_execution:lane_run_selector(), ctx()) ->
  
negative.code:     ctx().
  expect_lane_run_cancelled(AtmLaneRunSelector, ExpStateCtx) ->
      ExpAtmLaneRunStateDiff = #{<<"status">> => <<"cancelled">>},
      update_exp_lane_run_state(AtmLaneRunSelector, ExpAtmLaneRunStateDiff, ExpStateCtx).
  
  
  