phpunit-documentation-english icon indicating copy to clipboard operation
phpunit-documentation-english copied to clipboard

Mock Docs error

Open dakhnod opened this issue 5 years ago • 0 comments

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.

dakhnod avatar Aug 14 '20 10:08 dakhnod