eproxus/meck — pull request #45 by xenolinguist (2011-10-20 15:14:37+00:00)
Title: New API to retrieve arguments passed to a mocked function

This commit adds a meck:arguments function which will retrieve the argument list passed to a given Mod, Func, Arity function. Example (admittedly terribly contrived) usage:

```erlang
?assert(meck:called(my_mod, process_a_list, ["foo", bar, '_'])),
[_, _, ListArgument] = meck:arguments(my_mod, process_a_list, 3),
?assertEqual(OldLength+1, length(ListArgument)).
```