Thank you very much.
Since PropertyBehavior appears to be on by default for stubs created
by GenerateStub, is there a way to turn it off? I would like to be
able to use the same syntax regardless of whether a property is read-
only or read-write. While it does make the setup more verbose, it
makes the tests less fragile by protecting from interface changes.
In other words, adding a setter to an existing interface breaks
mockObject.Stub(x => x.SomeProperty).Return(42);
while removing a setter from an existing interface breaks
mockObject.SomeProperty = 42;
Thanks,
Bill Sorensen