anchor.diff:          ?rpc(atm_store_api:unfreeze(AtmStoreId)),
           ?assertEqual(
               ok,
  -            ?rpc(atm_store_api:apply_operation(AtmWorkflowExecutionAuth, set, NewItem, #{}, AtmStoreId))
  +            ?rpc(atm_store_api:update_content(AtmWorkflowExecutionAuth, NewItem, UpdateOpts, AtmStoreId))
           ),
           ?assertMatch(FullyExpandedNewItem, get_content(AtmWorkflowExecutionAuth, AtmStoreId))
   
  
positive.code:         ?rpc(atm_store_api:freeze(AtmStoreId)),
          ?assertEqual(
              ?ERROR_ATM_STORE_FROZEN(AtmStoreSchema#atm_store_schema.id),
              ?rpc(catch atm_store_api:apply_operation(
                  AtmWorkflowExecutionAuth, set, NewItem, #{}, AtmStoreId
              ))
          ),
          ?assertMatch(FullyExpandedInitialItem, get_content(AtmWorkflowExecutionAuth, AtmStoreId)),
  
negative.code: -spec set_item(atm_workflow_execution_auth:record(), atm_value:expanded(), atm_store:id()) ->
      ok.
  set_item(AtmWorkflowExecutionAuth, Item, AtmStoreId) ->
      ?rpc(atm_store_api:update_content(
          AtmWorkflowExecutionAuth,
          Item,
          #atm_single_value_store_content_update_options{},
          AtmStoreId
      )).
  
  
  %% @private
  -spec get_content(atm_workflow_execution_auth:record(), atm_store:id()) ->
      undefined | atm_value:expanded().
  get_content(AtmWorkflowExecutionAuth, AtmStoreId) ->
      BrowseOpts = #atm_single_value_store_content_browse_options{},
      case ?rpc(atm_store_api:browse_content(AtmWorkflowExecutionAuth, BrowseOpts, AtmStoreId)) of
          #atm_single_value_store_content_browse_result{item = undefined} ->
              undefined;
          #atm_single_value_store_content_browse_result{item = {ok, Item}} ->
              Item
      end.
  
  