Skip to content

Commit 94fc363

Browse files
Rephrase exception message
1 parent 932e4a1 commit 94fc363

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Framework/MockObject/Runtime/Rule/Parameters.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ private function doVerify(): bool
8888
}
8989

9090
if ($this->invocation === null) {
91-
throw new ExpectationFailedException('Mocked method does not exist.');
91+
throw new ExpectationFailedException('Doubled method does not exist.');
9292
}
9393

9494
if (count($this->invocation->parameters()) < count($this->parameters)) {

0 commit comments

Comments
 (0)