code: public function getNextMethodCalls($method)
      {
          if (!empty($this->calls[$method])) {
              return array_shift($this->calls[$method]);
          }
  
          return [];
      }
docs: @param string $method
  
  @return array