-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
verifyMockObjects() is now private #3734
Comments
@sebastianbergmann would you accept a PR to make this method protected instead of private? |
I am sorry that this causes you grief but this will stay |
@sebastianbergmann any workaround or best practice on how to use it in my use case (see my first message about iterator)? |
@sebastianbergmann any answer to this question ? |
We are migrating from PHPUnit 5 to PHPUnit 8.
And we have discovered that
verifyMockObjects()
is now a private method.We use it a lot in our tests like this:
verifyMockObjects()
verifyMockObjects()
An example would be an iterator:
Using
verifyMockObjects()
helps us to set up some milestone in the test.Is there a workaround or a best practice we should be aware of since
verifyMockObjects()
is now private?Thanks!
The text was updated successfully, but these errors were encountered: