title: Using Moq.It.IsAny to test a string starts with something
body: <p>Is it possible to use Moq to say a method accepts a string that starts with "ABC" for example.</p>
  
  <p>As an example something like this:</p>
  
  <pre><code>logger.Verify(x =&gt; x.WriteData(Moq.It.IsAny&lt;string&gt;().StartsWith("ABC")), Times.Exactly(3));
  </code></pre>
  
  <p>That wont compile but hopefully it illustrates my point</p>