private withArgsMatchedByClosure ( Closur\Closure $closure ) : self | ||
$closure | Closur\Closure | |
return | self |
private function withArgsMatchedByClosure(Closure $closure)
{
$this->_expectedArgs = [new MultiArgumentClosure($closure)];
$this->_noArgsExpectation = false;
return $this;
}