anchor.diff:  set_env(Node, Application, Name, Value) ->
       rpc:call(Node, application, set_env, [Application, Name, Value]).
   
  +
   %%%===================================================================
   %%% Internal functions
   %%%===================================================================
  
positive.code: -export([mock_new/2, mock_new/3, mock_expect/4, mock_validate/2, mock_unload/1,
      mock_unload/2, mock_validate_and_unload/2]).
  -export([get_env/3, set_env/4]).
  
  -type mock_opt() :: passthrough | non_strict | unstick | no_link.
  
  
negative.code: %%%===================================================================
  %%% API
  %%%===================================================================
  
  enable_datastore_models([H | _] = Nodes, Models) ->
      lists:foreach(
          fun(Model) ->
              {Module, Binary, Filename} = code:get_object_code(Model),
              {_, []} = rpc:multicall(Nodes, code, load_binary, [Module, Filename, Binary])
          end, Models),
  
      catch mock_new(Nodes, [datastore_config]),
      ok = mock_expect(Nodes, datastore_config, models,
          fun() ->
              meck:passthrough([]) ++ Models
          end),
  
      lists:foreach(
          fun(Node) ->
              ok = rpc:call(Node, datastore, initialize_state, [H])
          end, Nodes).
  
  
  %%--------------------------------------------------------------------
  %% @doc
  