I am getting this error when I try to set a mock to have PropertyBehavior():
PropertyBehavior()
System.InvalidOperationException: System.InvalidOperationEx
Never used PropertyBehavior before, but is this the syntax you're looking for?
PropertyBehavior
form.Stub(x=>x.OKButtonEnabled).PropertyBehavior()
Rhino Mocks works completely through extension methods now. The only static call I every make any more is to MockRepository.GenerateStub.
MockRepository.GenerateStub