Lines Matching refs:methodName
49 * @param string $methodName
56 public function makeCall(ObjectProphecy $prophecy, $methodName, array $arguments) argument
77 if ('__destruct' === $methodName || 0 == count($prophecy->getMethodProphecies())) {
78 $this->recordedCalls[] = new Call($methodName, $arguments, null, null, $file, $line);
85 foreach ($prophecy->getMethodProphecies($methodName) as $methodProphecy) {
93 throw $this->createUnexpectedCallException($prophecy, $methodName, $arguments);
114 … "The method \"$methodName\" has a void return type, but the promise returned a value",
120 $methodName, $arguments, $returnValue, $exception, $file, $line
134 * @param string $methodName
139 public function findCalls($methodName, ArgumentsWildcard $wildcard) argument
142 array_filter($this->recordedCalls, function (Call $call) use ($methodName, $wildcard) {
143 return $methodName === $call->getMethodName()
150 private function createUnexpectedCallException(ObjectProphecy $prophecy, $methodName, argument
190 $classname, $methodName, $argstring, implode("\n", $expected)
192 $prophecy, $methodName, $arguments