title: Writing Unit Tests with ODataQueryOptions
body: <p>I am new to writing test cases for WebAPI's. I have seen similar questions asked in the past, but not answered, but I am wondering how I would test my APIs if they have an <code>ODataQueryOptions</code> as part of the parameters.  See below:</p>
  
  <pre><code>public IQueryable&lt;Item&gt; GetByIdAndLocale(ODataQueryOptions opts, 
                                           Guid actionuniqueid, 
                                           string actionsecondaryid)
  </code></pre>
  
  <p>Would I have to moq this? If so, how would this look? Any help would be appreciated.</p>