Browse by Tags

All Tags » Rhino.Mocks (RSS)

Using Lambdas for return values in Rhino.Mocks

In a recent StackOverflow question, someone showed some sample code they’d like to be able to use.  The particular syntax they used isn’t supported by Rhino.Mocks , but it was an interesting idea that I thought could be easily implemented with an...
Posted by PSteele | 1 comment(s)
Filed under: , ,

Rhino.Mocks, Lambdas and Expectations

An interesting post on the Rhino.Mocks users list that I thought I’d share. Background Let’s start with a simple interface for an item: public interface IItem { void DoFoo(); void DoBar(); } Now let’s say we have a custom collection of these IItem objects...
Posted by PSteele | 1 comment(s)
Filed under: , ,
More Posts