title: makePartial() returns Mockery\Exception\BadMethodCallException : Method does not exist on this mock object
body: <p>I'm trying to test my Category class. I'm using Mockery::mock() method, with 'overload:' prefix and makePartial() method.</p>
  
  <p>When running test I have this error:</p>
  
  <p><strong><em><code>Mockery\Exception\BadMethodCallException : Method App\Models\Category::getDynamicFieldsForDocument() does not exist on this mock object</code></em></strong></p>
  
  <p>Here is my code:</p>
  
  <pre><code>namespace App\Models;
  class Category extends DictionaryBase{
      //some methods
      public function getDynamicFieldsForDocument()
      {
          $data = [];
          $parents = [];
          $allParents = $this-&gt;getParents($this-&gt;id, $parents);
          foreach ($allParents as $parentId) {
  
              $parent = Category::find($parentId);
              $fields = $parent-&gt;dynamicFields();
              foreach ($fields as $field) {
                  $data[$field['name']] = $field;
              }
          }
  
          return $data;
      }
  }
  </code></pre>
  
  <hr>
  
  <p><strong>TestCase:</strong></p>
  
  <pre><code>namespace Tests\Unit;
  
  use App\Models\Category;
  use Tests\TestCase;
  class CategoryModelTest extends TestCase{
      //some methods
      /**
       * @runInSeparateProcess
       * @preserveGlobalState disabled
       */
      public function testGetDynamicFieldsForDocument()
      {
          $mockCategory = \Mockery::mock('overload:'.Category::class)-&gt;makePartial();
          $preparedDynamicFields = $this-&gt;prepareDynamicFields();
          $preparedCategories = $this-&gt;prepareCategories();
          $mockCategory-&gt;shouldReceive('find')-&gt;andReturn($preparedCategories[0], $preparedCategories[1], $preparedCategories[2]);
          $mockCategory-&gt;shouldReceive('getParents')-&gt;andReturn(['1a2b', '3c4d', '5e6f']);
          $mockCategory-&gt;shouldReceive('dynamicFields')-&gt;andReturn(null, $preparedDynamicFields[0], $preparedDynamicFields[1]);
  
          $response = $mockCategory-&gt;getDynamicFieldsForDocument();
          dd($response);
      }
  }
  </code></pre>
  
  <hr>
  
  <p>I have no idea why i still have error. I think when ->makePartial() method is called it should mock only methods, which are called by ->shouldReceive()</p>
  
  <hr>
  
  <p>EDIT:</p>
  
  <p>Now I'm making mock instance without :overload, and mocking 'find' method in this way:</p>
  
  <pre><code>    `$mockCategory-&gt;shouldReceive('find')-&gt;andReturn($preparedCategories[0], $preparedCategories[1], $preparedCategories[2]);`
  </code></pre>
  
  <p>My find method looks like this:</p>
  
  <pre><code>public static function find($id) {
          return $id ? self::list(config(static::IDENT.'.fields'), (new Filter('and'))-&gt;add('id', $id, '')-&gt;toArray(),[],1,1)[0] ?? null : null;
      }
  </code></pre>
  
  <p>And this is my error:</p>
  
  <blockquote>
    <p>Error : Wrong parameters for App\Exceptions\ApiException([string
    $message [, long $code [, Throwable $previous = NULL]]])</p>
  </blockquote>
  
  <p>It's because list method call API so it looks like this method is called without mock.
  I know that i can't mock static method, but earlier when I used :overload it was possible. What's now? </p>