chore(deps): update dependency org.mockito:mockito-core to v4#1083
Merged
eaball35 merged 1 commit intoGoogleCloudPlatform:masterfrom Oct 7, 2021
Merged
Conversation
eaball35
approved these changes
Oct 7, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.12.4->4.0.0Release Notes
mockito/mockito
v4.0.0Compare Source
Mockito 4: Removing deprecated APIs.
All of these APIs have been marked as deprecated and have been present
in Mockito for quite a while.
An overview of now-deleted classes/methods:
org.mockito.Matcherswhich was an alias fororg.mockito.ArgumentMatchersorg.mockito.ArgumentMatchers#{anyObject,anyVararg}both which werealiases for
org.mockito.ArgumentMatchers#anyorg.mockito.ArgumentMatchers#any*Of, which were aliases for the samemethod name without the Of and the generic parameters (which were
ignored)
org.mockito.ArgumentMatchers#{is}{Not}Null(Class)which took a classwhich was ignored. Aliases for the same methods without the parameter
org.mockito.MockedStatic#verifywhich had the parameter types reversedorg.mockito.Mockito#verifyZeroInteractionsan alias ofverifyNoMoreInteractionsorg.mockito.Mockito#debugframework integration API that we laterrefactored
org.mockito.configuration.AnnotationEnginewhich was leaking internalAPIs and instead users should use
org.mockito.plugins.AnnotationEngineorg.mockito.exceptions.verification.TooLittleActualInvocationsfixedthe grammar from "Little" to "Few"
remove
org.mockito.plugins.InstantiatorProviderwhich was leaking internalAPIs and instead users should use InstantiatorProvider2 (we should
probably rename back to remove the number in a future major release)
org.mockito.runnersa package that hosted several old JUnit runnerswhich were no longer supported. Users should instead use
org.mockito.junit.MockitoJUnitRunnerwhich is our official JUnit4runner.
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.