WIP: Failing example for stubbing methods with any number of args.
Arity checker just checks a list of argument-matchers against the actual value.
Simple detect of & in a provided and an entry point for us to try something new!
Shift responsibility to wrapping checker for the arity checker.
Required if we want to drop the arity check for & cases
Now arg-matchers returns a function rather than a list of functions.
There is a equivalent form but without the arity check for &
& is only here to stop a parse error, its never called.
Remove the & from the matchers.
It currently serves no purpose other than this detection. Will likely change.
Make sure its a vec and not a seq
Updating docstrings
Refactor: Push details down into from-fake-maps
These tests no longer make sense here.
The responsibility of arg-matchers is abstracted from the fake. As far as its concerned it gets a function that is used to match arguments, not the internal details of how that works
More examples as documentation
Refactor: Cleaner not to convert to a string.
Refactor: Extract condition for arity check
Keep backticks out of the lexical maps.
Support & not in the first position of the arguments.
Better coverage of arg-matcher methods.
formatting
Merge pull request #186 from josephwilk/arity

Support mocking methods with arbitrary arity