title: How to verify that method was NOT called in Moq?
body: <p>How do I verify that method was NOT called in <a href="http://code.google.com/p/moq/" rel="noreferrer">Moq</a>? </p>
  
  <p>Does it have something like AssertWasNotCalled?</p>
  
  <p>UPDATE: Starting from Version 3.0, a new syntax can be used:</p>
  
  <pre><code>mock.Verify(foo =&gt; foo.Execute("ping"), Times.Never());
  </code></pre>