phpunit-documentation-english
phpunit-documentation-english copied to clipboard
Mock Docs error
| Q | A |
|---|---|
| PHPUnit version | 6.5.14 |
| PHP version | 7.2.0 |
| Installation Method | PHAR |
Summary
Documentation mistake
Current behavior
Infobox in documentation states protected functions as not mockable
Please note that final, private, protected, and static methods cannot be stubbed or mocked
Expected behavior
Infobox headline does not mention protected functions.
Limitation: final, private, and static methods
Protected functions are supported AFAIK, infobox should be updated.