anchor.diff:           callback/3]).
   
   %% "Testing" backend API
  -%% -export([reset/0]).
  +-export([reset/0]).
   
   -ifdef(TEST).
   -include_lib("eunit/include/eunit.hrl").
  
positive.code: -spec callback(reference(), any(), state()) -> {ok, state()}.
  callback(_Ref, _Msg, State) ->
      {ok, State}.
  
  %% ===================================================================
  %% Internal functions
  
negative.code: start(Partition, Config) ->
      TTL = app_helper:get_prop_or_env(ttl, Config, memory_backend),
      MemoryMB = app_helper:get_prop_or_env(max_memory, Config, memory_backend),
      TableOpts = case app_helper:get_prop_or_env(test, Config, memory_backend) of
                      true ->
                          [public, named_table];
                      _ ->
                          []
                  end,
      case MemoryMB of
          undefined ->
              MaxMemory = undefined,
              TimeRef = undefined;
          _ ->
              MaxMemory = MemoryMB * 1024 * 1024,
              TimeRef = ets:new(?TNAME(Partition), [ordered_set|TableOpts])
      end,
      IndexRef = ets:new(?INAME(Partition), [ordered_set|TableOpts]),
      DataRef = ets:new(?DNAME(Partition), TableOpts),
      {ok, #state{data_ref=DataRef,
                  index_ref=IndexRef,
                  max_memory=MaxMemory,
  