Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test doubles: stubs: list available short hands
List the (convenience) short hands and their longer counterparts. IDEs should do a fine job suggesting those already, but having them show up on readthedocs would be great. Maybe it would make more sense to only mention the short hands after their long syntax is explained (as happens for quite a few of them in the paragraphs thereafter), but I placed the list of available short hands where it was explained for `willReturn($value)` so far. Long call syntax as seen in https://github.com/sebastianbergmann/phpunit-mock-objects/blob/0dfddc236629eb7ead4df2dfa3d79d548e011a3b/tests/MockObjectTest.php Resolves #20
- Loading branch information