title: phpunit : test api and mock some method in same controller, but mocked method is not work
body: <p>controller code</p>
  <pre><code>class testController extends \Illuminate\Routing\Controller
  {
      public function test1() {
          $a = $this-&gt;test2();
          ...
      }
  
      protected function test2() {
          return '123';
      }
  }
  </code></pre>
  <p>unit test code</p>
  <pre><code>class Test extends TestCase
  {
      public function unittest()
      {
          $mockController = \Mockery::mock('App\Http\Controllers\testController')-&gt;makePartial()-&gt;shouldAllowMockingProtectedMethods();
          $mockController -&gt;shouldReceive('test2')-&gt;andReturn('456');
  
          $response = $this-&gt;json('GET', action('testController@test1'));
  
          $response-&gt;assertStatus(200);
      }
  }
  </code></pre>
  <p>when do unit test, test2 method always return 123, not 456
  Anything help? Thanks.</p>