title: How to mock only the authorize() method in Form Request on Laravel 5.1?
body: <p>We are implementing <strong>resource ownership</strong> and/or <strong>input validations</strong> through the use of <code>FormRequest</code>. Our controller tests are functional test so we don't mock <code>Request</code> but use the <code>$this-&gt;call($method, $url, $params, ...)</code>. </p>
  
  <p>The issue is that <code>FormRequest</code> is a subclass of <code>Request</code>. Is there a way to mock only the <code>authorize()</code> method but keeping the rest of the <code>Request</code> object non-mocked? </p>
  
  <p>If so, how to?  I already tried partial mocking with <code>Mockery</code> and it either didn't work or I did it wrong.</p>
  
  <pre><code>$this-&gt;mock(\Namespace\Http\Requests\CustomRequest::class . '[authorize]')
      -&gt;shouldReceive('authorize')
      -&gt; .......
  </code></pre>