anchor.diff:  -ifdef(TEST).
   -include_lib("eunit/include/eunit.hrl").
   
  -atom_to_binary_test() ->
  -    ?assertEqual(<<"foo">>, atom_to_binary(foo)).
  -
   normalize_props_test() ->
       ?assertEqual(normalize_props({[{<<"retry">>, 3}, {<<"timeout">>, 5.0},
                                     {<<"pack">>, 0.5}]}),
  
positive.code:             {Name, _} = dict:fetch(Id, Mapping),
              cancel_pull(dict:erase(Id, Mapping)),
              {Response} = lmq_lib:export_message(M),
              {[{<<"queue">>, atom_to_binary(Name)} | Response]};
          {Id, {error, Reason}} ->
              Mapping1 = dict:erase(Id, Mapping),
              lager:debug("pull_any for ~p: ~p, rest ~p",
  
negative.code: convert_uuid(UUID) when is_binary(UUID) ->
      uuid:string_to_uuid(binary_to_list(UUID)).
  
  normalize_props({Props}) ->
      %% jiffy style to proplists
      normalize_props(Props, []).
  