Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misleading documentation about doubles #92

Closed
dneprovec opened this issue Aug 25, 2018 · 1 comment
Closed

Misleading documentation about doubles #92

dneprovec opened this issue Aug 25, 2018 · 1 comment

Comments

@dneprovec
Copy link

Hello.
In the documentation about test doubles we can read:

Limitation: final, private, and static methods

Please note that final, private, protected, and static methods cannot be stubbed or mocked.

In the body of this limitation block protected method is mentioned though it is not correct because it is possible to create a stub for protected method

@keradus
Copy link
Contributor

keradus commented Aug 27, 2018

nice catch @dneprovec , can you submit a PR to fix that, please ? :)

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

No branches or pull requests

2 participants