public function callsArgument($index = 0) { if ($arguments = func_get_args()) { foreach ($arguments as $index) { $this->callsArgumentWith($index); } } else { $this->callsArgumentWith(0); } return $this; }