title: Stubbing a read only property with Rhino Mocks
body: <p>I have a class with a private set property that I want to stub out with rhino mocks.  When I try to do this, though, it gives me a compile time error saying I can't set a read only property.  I'm new to using Rhino Mocks so I must be missing something here...</p>
  
  <pre><code>public Interface IFoo
  {
      int Quantity { get; }
  }
  
  [TestMethod]
  public void SomeTest()
  {
      IFoo foo = MockRepository.GenerateStub&lt;IFoo&gt;();
      foo.Quantity = 5;
  
      //Asserts and such
  }
  </code></pre>