Here is sample code:
setup_with_mocks([
{Map, [], [get: fn(%{}, "http://example.com") -> "<html></html>" end]}
]) do
foo = "bar"
{:ok, foo: foo}
end
From here: jjh42/mock at v0.3.4 (github.com)
What is the purpose of the empty array in {Map, []...