title: Unable to mock Model::where() and prevent test from querying database
body: <p>In my controller I'm using <code>MyModel::where(...)</code> which is calling the database during one of my tests.  I thought that I'd be able to overload it with the following but it's still querying the database.  What can I do to be sure my test is still requiring that <code>::where</code> is called but returns a mocked model so I can resume testing the rest of this controller method?</p>
  
  <pre><code>MyModel::shouldReceive('where')
    -&gt;once()
    -&gt;with('param1', 'param2')
    -&gt;andReturn($mockedModel);
  </code></pre>