chore(deps): update dependency org.mockito:mockito-core to v4 #204
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.2.0
Release Notes
mockito/mockito
v4.2.0
Compare Source
Changelog generated by Shipkit Changelog Gradle Plugin
4.2.0
mockStatic
(#2506)v4.1.0
Compare Source
Major new feature:
@DoNotMock
You can now mark classes/interfaces with
@org.mockito.DoNotMock
to disallow mocking with Mockito. For more information, see our documentation: https://javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/DoNotMock.htmlChangelog generated by Shipkit Changelog Gradle Plugin
4.1.0
v4.0.0
Compare 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.Matchers
which was an alias fororg.mockito.ArgumentMatchers
org.mockito.ArgumentMatchers#{anyObject,anyVararg}
both which werealiases for
org.mockito.ArgumentMatchers#any
org.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#verify
which had the parameter types reversedorg.mockito.Mockito#verifyZeroInteractions
an alias ofverifyNoMoreInteractions
org.mockito.Mockito#debug
framework integration API that we laterrefactored
org.mockito.configuration.AnnotationEngine
which was leaking internalAPIs and instead users should use
org.mockito.plugins.AnnotationEngine
org.mockito.exceptions.verification.TooLittleActualInvocations
fixedthe grammar from "Little" to "Few"
remove
org.mockito.plugins.InstantiatorProvider
which 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.runners
a package that hosted several old JUnit runnerswhich were no longer supported. Users should instead use
org.mockito.junit.MockitoJUnitRunner
which 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: Whenever PR is behind base branch, 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.