Skip to content

Commit

Permalink
test(deps): update dependency org.mockito:mockito-core to v4 (#291)
Browse files Browse the repository at this point in the history
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [org.mockito:mockito-core](https://togithub.com/mockito/mockito) | `3.12.4` -> `4.0.0` | [![age](https://badges.renovateapi.com/packages/maven/org.mockito:mockito-core/4.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.mockito:mockito-core/4.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.mockito:mockito-core/4.0.0/compatibility-slim/3.12.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.mockito:mockito-core/4.0.0/confidence-slim/3.12.4)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>mockito/mockito</summary>

### [`v4.0.0`](https://togithub.com/mockito/mockito/releases/v4.0.0)

[Compare Source](https://togithub.com/mockito/mockito/compare/v3.12.4...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.Matchers` which was an alias for
    `org.mockito.ArgumentMatchers`
-   `org.mockito.ArgumentMatchers#{anyObject,anyVararg}` both which were
    aliases for `org.mockito.ArgumentMatchers#any`
-   `org.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 parameter
-   `org.mockito.MockedStatic#verify` which had the parameter types reversed
-   `org.mockito.Mockito#verifyZeroInteractions` an alias of
    `verifyNoMoreInteractions`
-   `org.mockito.Mockito#debug` framework integration API that we later
    refactored
-   `org.mockito.configuration.AnnotationEngine` which was leaking internal
    APIs and instead users should use `org.mockito.plugins.AnnotationEngine`
-   `org.mockito.exceptions.verification.TooLittleActualInvocations` fixed
    the grammar from "Little" to "Few"
-   Numerous internal APIs that we never officially supported and can now
    remove
-   `org.mockito.plugins.InstantiatorProvider` which 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.runners` a package that hosted several old JUnit runners
    which were no longer supported. Users should instead use
    `org.mockito.junit.MockitoJUnitRunner` which is our official JUnit4
    runner.

</details>

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-pubsublite-spark).
  • Loading branch information
renovate-bot committed Oct 7, 2021
1 parent 7c370ad commit bea30f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -136,7 +136,7 @@
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
<version>3.12.4</version>
<version>4.0.0</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
Expand Down

0 comments on commit bea30f6

Please sign in to comment.