title: Mock method that returns Task<dynamic>
body: <p>I have unit test for a method that returns dynamic and when I try to setup and returns a dynamic value it gets an error on running the test saying</p>
  <blockquote>
  <p>The best overloaded method match for 'Moq.etc' has some invalid arguments</p>
  </blockquote>
  <pre><code>_managerMock.Setup(x =&gt; x.someMethod(It.IsAny&lt;int&gt;()))
              .Returns(Task.FromResult(resource));
  </code></pre>