Daniel Cazzulino did a show and tell on Moq, a mock object framework that uses lambda expressions and fluent interfaces to try and improve the usually kludgy feel of creating mock objects. Scott Hanselman talks about some of the other approaches here. There really doesn’t seem to be a completely satisfactory answer for everyone but Moq seems to get a lot closer than some of the other frameworks out there.
What’s the next logical step for mocking frameworks? Maybe to leapfrog the C# (or VB.NET) languages and provide a DSL that expresses the author’s intent in a much clearer way without being constrained by the existing .NET languages.
The other interesting thing about Moq is that it is the result of an NGO funded project. InSTEDD is looking at novel ways to support responses to emergencies, diseases and disasters using interesting technologies like Twitter Bots and building robust, lightweight distributed networks using SMS.