anchor.diff:      freshen_spec(Config, {UserName, 1}).
   
   
  --spec freshen_specs(config(), [user_res()], binary()) -> [escalus_users:named_user()].
  +-spec freshen_specs(escalus:config(), [escalus_users:resource_spec()], binary()) -> [escalus_users:named_user()].
   freshen_specs(Config, UserSpecs, Suffix) ->
       FreshSpecs = fresh_specs(Config, UserSpecs, Suffix),
       case length(FreshSpecs) == length(UserSpecs) of
  
positive.code: %% fresh_story_with_config(C,[..],fun(FreshConfig, Alice, Bob) ->
  %%
  %% and any queries rewritten to use FreshConfig within this scope
  -spec story_with_config(config(), [user_res()], fun()) -> any().
  story_with_config(Config, UserSpecs, StoryFun) ->
      FreshConfig = create_users(Config, UserSpecs),
      escalus_story:story_with_client_list(FreshConfig, UserSpecs,
  
negative.code: -define(WORKER_OVERRUN_TIME, 3000).
  -define(MIN_UNREGISTER_TEMPO, 20000).
  
  %% @doc
  %% Run story with fresh users (non-breaking API).
  %% The genererated fresh usernames will consist of the predefined {username, U} value
  %% prepended to a unique, per-story suffix.
  %% {username, <<"alice">>} -> {username, <<"alice32.632506">>}
  -spec story(escalus:config(), [escalus_users:resource_spec()], fun()) -> any().
  story(Config, UserSpecs, StoryFun) ->
      escalus:story(create_users(Config, UserSpecs), UserSpecs, StoryFun).
  
  %% @doc
  %% See escalus_story:story/3 for the difference between
  %% story/3 and story_with_client_list/3.
  -spec story_with_client_list(escalus:config(), [escalus_users:resource_spec()], fun()) -> any().
  story_with_client_list(Config, UserSpecs, StoryFun) ->
      escalus_story:story_with_client_list(create_users(Config, UserSpecs), UserSpecs, StoryFun).
  
  