patrik-hagne/FakeItEasy — pull request #6 by philippdolder (2012-03-27 12:58:20+00:00)
Title: Added InvokesExtensions to support better readable Invokes configuration

- supports faking of methods with 0 to 4 arguments
- throws an exception when the signature of the faked method and the action that should be invoked are different
- invokes can be used like this A.CallTo(...).Invokes((string s, int i) => { arguments.Add(s); arguments.Add(i); });