Bump mockito-core from 3.12.4 to 4.0.0 by dependabot[bot] · Pull Request #114 · apache/maven-enforcer (original) (raw)
Bumps mockito-core from 3.12.4 to 4.0.0.
Release notes
Sourced from mockito-core's releases.
v4.0.0
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 were aliases fororg.mockito.ArgumentMatchers#anyorg.mockito.ArgumentMatchers#any*Of, which were aliases for the same method name without the Of and the generic parameters (which were ignored)org.mockito.ArgumentMatchers#{is}{Not}Null(Class)which took a class which was ignored. Aliases for the same methods without the parameterorg.mockito.MockedStatic#verifywhich had the parameter types reversedorg.mockito.Mockito#verifyZeroInteractionsan alias ofverifyNoMoreInteractionsorg.mockito.Mockito#debugframework integration API that we later refactoredorg.mockito.configuration.AnnotationEnginewhich was leaking internal APIs and instead users should useorg.mockito.plugins.AnnotationEngineorg.mockito.exceptions.verification.TooLittleActualInvocationsfixed the grammar from "Little" to "Few"- Numerous internal APIs that we never officially supported and can now remove
org.mockito.plugins.InstantiatorProviderwhich was leaking internal APIs 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 runners which were no longer supported. Users should instead useorg.mockito.junit.MockitoJUnitRunnerwhich is our official JUnit4 runner.
Commits
- e8f26b3 Fixes #2281: Make MockedConstruction stubs close on demand (#2442)
- bf480c3 Bump versions.bytebuddy from 1.11.18 to 1.11.19 (#2441)
- d4180a2 Update BND plugin to 6.0.0 (#2440)
- 7032574 Remove all Incubating annotations (#2437)
- c8dbc10 Fix spelling in old release notes (#2439)
- 40d6f68 Add test for enum mocking using inline mock maker.
- 6a50cc4 Run CI on Java 17 (#2417)
- 99f8a62 Add monospace font fallback for JavaDoc (#2434)
- 651feb3 Bump versions.junitJupiter from 5.8.0 to 5.8.1 (#2430)
- 6db7a02 Bump junit-platform-launcher from 1.8.0 to 1.8.1 (#2432)
- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)