title: In Rhino Mock, how do I mock a property to it can be “call” more than once?
body: <p>This should be easy, so I must be missing something (very likely as this is my first time using Rhino Mock)</p>
  
  <p>I just wish my code to be able to call <code>helm.CurrentEnterprise</code> any number of times, but instead I get:</p>
  
  <pre><code>System.InvalidOperationException occurred
    Message=Previous method 'IHelm.get_CurrentEnterprise();' requires a return value or an exception to throw.
    Source=Rhino.Mocks
    StackTrace:
         at Rhino.Mocks.Impl.RecordMockState.AssertPreviousMethodIsClose()
         at Rhino.Mocks.Impl.RecordMockState.MethodCall(IInvocation invocation, MethodInfo method, Object[] args)
         at Rhino.Mocks.MockRepository.MethodCall(IInvocation invocation, Object proxy, MethodInfo method, Object[] args)
         at Rhino.Mocks.Impl.RhinoInterceptor.Intercept(IInvocation invocation)
         at Castle.DynamicProxy.AbstractInvocation.Proceed()
         at IHelmProxy44ecadd4f07244fd96c5849febe94a58.get_CurrentEnterprise()
         at KSS.PS3.Testing.UnitTests.ModelOptions.RuleGroupTreeViewTest.AsUsedByRuleGroupModalOptionEditor() in D:\dev\5.0.0\main\Application\Testing\Tests\UnitTests\ModelOptions\RuleGroupTreeView.cs:line 54
    InnerException:
  </code></pre>
  
  <p>This is my code:</p>
  
  <pre><code>   MockRepository mocks = new MockRepository();
     IHelm helm = mocks.Stub&lt;IHelm&gt;();
     helm.Stub(x =&gt; x.CurrentEnterprise).Return(enterprise).Repeat.Any();         
  
     var a2 = helm.CurrentEnterprise;
     var a2a = helm.CurrentEnterprise; // &lt;- the exception comes from here
     var a2aa = helm.CurrentEnterprise;
  </code></pre>