You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -153,6 +153,18 @@ public fuction testReplacedFunctionReturnsCallback(){
153
153
}
154
154
```
155
155
156
+
If you need to replace a function and make it return a sequence of values, one at each call, then you can use the `FunctionMocker::replaceInOrder` method:
157
+
158
+
```php
159
+
public function testReplacedFunctionReturnsValue(){
0 commit comments