コード例 #1
0
ファイル: Step.php プロジェクト: lucatume/function-mocker
 /**
  * @return \PHPUnit_Framework_MockObject_MockObject
  */
 protected function getForgedMockObject()
 {
     $methods = array_merge(array_keys($this->methods), ['__construct']);
     $mockObject = $this->instanceForger->getPHPUnitMockObjectFor($this->class, $methods);
     return $mockObject;
 }