Lines Matching refs:methodName
30 private $methodName; variable in Prophecy\\Prophecy\\MethodProphecy
42 * @param string $methodName
47 public function __construct(ObjectProphecy $objectProphecy, $methodName, $arguments = null) argument
50 if (!method_exists($double, $methodName)) {
52 'Method `%s::%s()` is not defined.', get_class($double), $methodName
53 ), get_class($double), $methodName, $arguments);
57 $this->methodName = $methodName;
59 $reflectedMethod = new \ReflectionMethod($double, $methodName);
65 $methodName
175 … "The method \"$this->methodName\" has a void return type, and so cannot return anything",
195 …throw new MethodProphecyException("The method \"$this->methodName\" has a void return type", $this…
458 return $this->methodName;