erlware_commons/test/mock.erl
Eric Merritt ff3557d883 add suport and documentation for signatures for dictionaries
Signed-off-by: Jordan Wilberding <jwilberding@gmail.com>
2011-10-16 22:26:43 -04:00

10 lines
224 B
Erlang

-module(mock).
-export([new_dictionary/0]).
new_dictionary() ->
meck:new(ec_dictionary_proper),
meck:expect(ec_dictionary_proper, dictionary, fun() ->
proper_types:union([ec_dict])
end).