public partialWith ( |
||
$arguments | The constructor arguments, or null to bypass the constructor. | |
Результат | Eloquent\Phony\Mock\Mock | The mock instance. |
public function partialWith($arguments = array())
{
$this->mock = $this->factory->createPartialMock($this->build(), $arguments);
return $this->mock;
}