public void ShouldBeAbleToUseDo() { Action <MyClass> action = x => x.DoSomething(); { operable.ObjectBuilder.Returns(objectBuilder); objectBuilder.Do(action).Returns(objectBuilder); } OperableExtensions.Do((IOperable <MyClass>)operable, action); }