anchor.diff:           with_global_option/3,
            with_local_option/3,
            get_c2s_status/1,
  -         get_remote_sessions/0,
  +         get_remote_sessions/1,
  +         default_get_remote_sessions/0,
            wait_for_session_count/2]).
   
   -include("escalus.hrl").
  
positive.code:             wait_for_session_count(Config, Count, TryNo + 1)
      end;
  wait_for_session_count(Config, Count, _) ->
      ct:fail({wait_for_session_count, Count, call_get_remote_sessions(Config)}).
  
  get_remote_sessions() ->
      rpc(ets, tab2list, [session]).
  
  %%--------------------------------------------------------------------
  %% Helpers
  
negative.code:     [U, S, _P] = escalus_users:get_usp(UserSpec),
      rpc(ejabberd_admin, unregister, [U, S]).
  
  default_get_remote_sessions() ->
      rpc(ets, tab2list, [session]).
  