How do I mock an object with a constructor using Rhino Mocks?
For example how would this object be mocked...
public class Foo : IFoo
{
private IBar bar;
public Foo (IBar bar)
{
this.bar = bar
}
public DoSomeThingAwesome()
{
//awesomeness happens here
}
}