title: How to use Moq.MockRepository.Of() method
body: <p>What is the proper use of Moq.MockRepository.Of() and Moq.MockRepository.OneOf()?
  I've tried something like this to try to figure it out.</p>
  
  <pre><code>var mr = new MockRepository(MockBehavior.Strict);
  var m = mr.Of&lt;ISomeInterface&gt;();
  foreach (var obj in m)
      cnt++;
  </code></pre>
  
  <p>I've found that cnt just keeps incrementing to no end.  What gives?  Documentation regarding this is not forthcoming.</p>