withArgs() public method

Expected arguments for the expectation passed as an array or a closure that matches each passed argument on each function call.
public withArgs ( array | Closur\Closure $argsOrClosure ) : self
$argsOrClosure array | Closur\Closure
return self
 /**
  * @return $this
  */
 public function withArgs(array $args)
 {
     $this->expectation->withArgs($args);
     return $this;
 }