public function lastCall() { if ($this->callCount) { return $this->callVerifierFactory->fromCall($this->calls[$this->callCount - 1]); } throw new UndefinedCallException(0); }