public function callAt($index = 0) { if (!$this->normalizeIndex(count($this->calls), $index, $normalized)) { throw new UndefinedCallException($index); } return $this->calls[$normalized]; }