Skip to content
This repository has been archived by the owner on Apr 12, 2018. It is now read-only.

Manual, 3.6 Test doubles, small typo #30

Closed
rpsu opened this issue Oct 3, 2011 · 1 comment
Closed

Manual, 3.6 Test doubles, small typo #30

rpsu opened this issue Oct 3, 2011 · 1 comment

Comments

@rpsu
Copy link

rpsu commented Oct 3, 2011

Page: http://www.phpunit.de/manual/3.6/en/test-doubles.html

Stubs, after Example 10.2 -code

By default, all methods of the given class are replaced with a test double that just returns NULL unless a return value is configured using will($this->returnValue(), for instance.

last should be:
... will($this->returnValue()), for instance.

@edorian edorian closed this as completed in 563eea7 Oct 3, 2011
@edorian
Copy link
Sponsor Collaborator

edorian commented Oct 3, 2011

"Backported" to 3.5 in ad106f2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants