title: Making mocks trigger PropertyChanged when changed
body: <p>I am using RhinoMocks, and I have a Mock which has a property I need to behave as a real property - updating its value when set, and also trigger PropertyChanged when the property is changed. </p>
  
  <p>The interface of the mocked object is in essence this: </p>
  
  <pre><code>public interface IFoo
  {
      event PropertyChangedEventHandler PropertyChanged;
      int Bar { get; set; }
  }
  </code></pre>
  
  <p>When creating the mock I set PropertyBehavior - which makes it actually update its faked value: </p>
  
  <pre><code>var mocks = new MockRepository();
  var fakeFoo = mocks.DynamicMock&lt;IFoo&gt;();
  SetupResult.For(fakeFoo.Bar).PropertyBehavior();
  </code></pre>
  
  <p>But when I update the value PropertyChanged isn't triggered. Now, the interface doesn't implement the INotifyPropertyChanged interface as it is an interface.. How can I make PropertyChanged triggered? </p>