patrik-hagne/FakeItEasy — pull request #11 by philippdolder (2012-05-03 06:38:46+00:00)
Title: Added ReturnsLazily extension to support better readable ReturnsLazily configuration

- supports faking of methods with 1 to 4 arguments (no arguments and omitting arguments is already supported)
- 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(...).ReturnsLazily((int i, int j) => i + j);