title: Using Moq, how do I set up a method call with an input parameter as an object with expected property values?
body: <pre><code> var storageManager = new Mock&lt;IStorageManager&gt;(); 
   storageManager.Setup(e =&gt; e.Add(It.IsAny&lt;UserMetaData&gt;()));
  </code></pre>
  
  <p>The Add() method expects a UserMetaData object which has a FirstName property.</p>
  
  <p>I'd like to make sure that an object of type UserMetaData with the FirstName of "FirstName1" has been passed.</p>