title: Entity Framework Core FromSqlRaw mock test cases
body: <p>I am creating a integration test for api method which have some query like below</p>
  <pre><code>public async static Task&lt;IEnumerable&lt;T&gt;&gt; ForSysAll&lt;T&gt;(this DbSet&lt;T&gt; dbSet,int id) where T : class
  {
      return await dbSet.FromSqlRaw($&quot;SELECT * FROM dbo.TableName Where Id = {0}&quot;,id).ToListAsync();
  }
  </code></pre>
  <p>This is working fine while I run with API code. But when I am trying to debug/run with test case. It throws an exception which is :-   <code>System.NotImplementedException : Unhandled method: FromSqlOnQueryable</code></p>
  <p>Can anyone having any idea for this?</p>