mockito/mockito
### [`v4.8.0`](https://togithub.com/mockito/mockito/releases/tag/v4.8.0)
[Compare Source](https://togithub.com/mockito/mockito/compare/v4.7.0...v4.8.0)
*Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)*
##### 4.8.0
- 2022-09-07 - [10 commit(s)](https://togithub.com/mockito/mockito/compare/v4.7.0...v4.8.0) by Alex, James Baker, Johannes Spangenberg, Kurt Alfred Kluever, Rafael Winterhalter, Thibault Helsmoortel, dependabot\[bot]
- GitHub Workflows security hardening [(#2744)](https://togithub.com/mockito/mockito/pull/2744)
- Assign GlobalConfiguration initializer to unused variable [(#2742)](https://togithub.com/mockito/mockito/pull/2742)
- Bump com.diffplug.spotless from 6.9.1 to 6.10.0 [(#2738)](https://togithub.com/mockito/mockito/pull/2738)
- Drop varargs collector before invoking a user method. [(#2736)](https://togithub.com/mockito/mockito/pull/2736)
- Bump versions.bytebuddy from 1.12.13 to 1.12.14 [(#2734)](https://togithub.com/mockito/mockito/pull/2734)
- Remove useless thrown exception from constructor [(#2732)](https://togithub.com/mockito/mockito/pull/2732)
- TypeSafeMatching no longer iterates over class methods inefficiently [(#2729)](https://togithub.com/mockito/mockito/pull/2729)
- Fixes [#2720](https://togithub.com/mockito/mockito/issues/2720): Use StackWalker on Java 9+ to create Locations [(#2723)](https://togithub.com/mockito/mockito/pull/2723)
- LocationImpl adds performance overheads due to instantiating a stack trace [(#2720)](https://togithub.com/mockito/mockito/issues/2720)
- Fixes [#2626](https://togithub.com/mockito/mockito/issues/2626) : Introduce MockSettings.mockMaker [(#2701)](https://togithub.com/mockito/mockito/pull/2701)
- Introduce option to disable inline-mock-maker for a specific instance [(#2626)](https://togithub.com/mockito/mockito/issues/2626)
### [`v4.7.0`](https://togithub.com/mockito/mockito/releases/tag/v4.7.0)
*Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)*
##### 4.7.0
- 2022-08-13 - [33 commit(s)](https://togithub.com/mockito/mockito/compare/v4.6.1...v4.7.0) by [`1988123`](https://togithub.com/mockito/mockito/commit/198812345678), Andy Coates, Chen Ni, Marius Lichtblau, Nikita Koselev. Developer Advocate, Open Source Ally, Rafael Winterhalter, dependabot\[bot], dstango, fishautumn, heqiang
- Bump com.diffplug.spotless from 6.9.0 to 6.9.1 [(#2725)](https://togithub.com/mockito/mockito/pull/2725)
- Bump versions.bytebuddy from 1.12.12 to 1.12.13 [(#2719)](https://togithub.com/mockito/mockito/pull/2719)
- Fix Javadoc for Mockito. [(#2718)](https://togithub.com/mockito/mockito/pull/2718)
- Bump com.diffplug.spotless from 6.8.0 to 6.9.0 [(#2717)](https://togithub.com/mockito/mockito/pull/2717)
- Fix a typo in comment of InternalRunner.java [(#2715)](https://togithub.com/mockito/mockito/pull/2715)
- Bump junit-platform-launcher from 1.8.2 to 1.9.0 [(#2713)](https://togithub.com/mockito/mockito/pull/2713)
- Bump versions.junitJupiter from 5.8.2 to 5.9.0 [(#2712)](https://togithub.com/mockito/mockito/pull/2712)
- Bump groovy from 3.0.11 to 3.0.12 [(#2711)](https://togithub.com/mockito/mockito/pull/2711)
- Bump shipkit-auto-version from 1.2.0 to 1.2.1 [(#2709)](https://togithub.com/mockito/mockito/pull/2709)
- Bump kotlinVersion from 1.7.0 to 1.7.10 [(#2705)](https://togithub.com/mockito/mockito/pull/2705)
- Bump com.diffplug.spotless from 6.7.2 to 6.8.0 [(#2699)](https://togithub.com/mockito/mockito/pull/2699)
- Bump versions.bytebuddy from 1.12.11 to 1.12.12 [(#2695)](https://togithub.com/mockito/mockito/pull/2695)
- Makes error message less misleading and points to github for help. Issue [#2692](https://togithub.com/mockito/mockito/issues/2692) [(#2693)](https://togithub.com/mockito/mockito/pull/2693)
- Misleading error message when mocking and a class (of a parameter) is not found [(#2692)](https://togithub.com/mockito/mockito/issues/2692)
- Bump kotlinx-coroutines-core from 1.6.1-native-mt to 1.6.3-native-mt [(#2691)](https://togithub.com/mockito/mockito/pull/2691)
- Bump versions.bytebuddy from 1.12.10 to 1.12.11 [(#2690)](https://togithub.com/mockito/mockito/pull/2690)
- Fixes [#2679](https://togithub.com/mockito/mockito/issues/2679) : Update Javadoc [(#2689)](https://togithub.com/mockito/mockito/pull/2689)
- Bump org.eclipse.osgi from 3.17.200 to 3.18.0 [(#2688)](https://togithub.com/mockito/mockito/pull/2688)
- RETURNS_SELF: Avoids returning mock when mock type is assignable to method return type, but method return type is Object. [(#2687)](https://togithub.com/mockito/mockito/pull/2687)
- RETURNS_SELF breaks methods with generic return type [(#2686)](https://togithub.com/mockito/mockito/issues/2686)
- Fix [#2616](https://togithub.com/mockito/mockito/issues/2616) wrong stub for nested static [(#2685)](https://togithub.com/mockito/mockito/pull/2685)
- Bump com.diffplug.spotless from 6.7.0 to 6.7.2 [(#2684)](https://togithub.com/mockito/mockito/pull/2684)
- Avoids starting mocks "half-way" if a superclass constructor is mocked but an unmocked subclass is initiated. [(#2682)](https://togithub.com/mockito/mockito/pull/2682)
- Fix typo [(#2681)](https://togithub.com/mockito/mockito/pull/2681)
- Update javadoc of `Strictness.STRICT_STUBS` [(#2679)](https://togithub.com/mockito/mockito/issues/2679)
- Bump kotlinVersion from 1.6.21 to 1.7.0 [(#2677)](https://togithub.com/mockito/mockito/pull/2677)
- Bump biz.aQute.bnd.builder from 6.3.0 to 6.3.1 [(#2675)](https://togithub.com/mockito/mockito/pull/2675)
- Bump biz.aQute.bnd.gradle from 6.3.0 to 6.3.1 [(#2674)](https://togithub.com/mockito/mockito/pull/2674)
- Bump com.diffplug.spotless from 6.6.1 to 6.7.0 [(#2672)](https://togithub.com/mockito/mockito/pull/2672)
- update CONTRIBUTING.md - stackoverflow [(#2671)](https://togithub.com/mockito/mockito/pull/2671)
- stackoverflow.com is a non-actionable text, to be replaced with a hyperlink [(#2670)](https://togithub.com/mockito/mockito/issues/2670)
- Fix typos [(#2669)](https://togithub.com/mockito/mockito/pull/2669)
- Bump biz.aQute.bnd.gradle from 6.2.0 to 6.3.0 [(#2666)](https://togithub.com/mockito/mockito/pull/2666)
- Bump biz.aQute.bnd.builder from 6.2.0 to 6.3.0 [(#2665)](https://togithub.com/mockito/mockito/pull/2665)
- Improve Varargs handling in AdditionalAnswers [(#2664)](https://togithub.com/mockito/mockito/pull/2664)
- Bump appcompat from 1.4.1 to 1.4.2 [(#2663)](https://togithub.com/mockito/mockito/pull/2663)
- Varargs methods cause `ClassCastException` in `AnswerFunctionalInterfaces` [(#2644)](https://togithub.com/mockito/mockito/issues/2644)
- Mock static class seems records wrong invocations if called nested method throws exception [(#2616)](https://togithub.com/mockito/mockito/issues/2616)
### [`v4.6.1`](https://togithub.com/mockito/mockito/releases/tag/v4.6.1)
[Compare Source](https://togithub.com/mockito/mockito/compare/v4.6.0...v4.6.1)
*Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)*
##### 4.6.1
- 2022-06-02 - [6 commit(s)](https://togithub.com/mockito/mockito/compare/v4.6.0...v4.6.1) by Andy Coates, Chen Ni, dependabot\[bot]
- Bump material from 1.6.0 to 1.6.1 [(#2662)](https://togithub.com/mockito/mockito/pull/2662)
- Bump core-ktx from 1.7.0 to 1.8.0 [(#2661)](https://togithub.com/mockito/mockito/pull/2661)
- Bump groovy from 3.0.10 to 3.0.11 [(#2660)](https://togithub.com/mockito/mockito/pull/2660)
- Fix for Issue2656 [(#2659)](https://togithub.com/mockito/mockito/pull/2659)
- Bump assertj-core from 3.22.0 to 3.23.1 [(#2658)](https://togithub.com/mockito/mockito/pull/2658)
- Regression? Strictness set in `@MockitoSettings` ignored after upgrade from 4.5.1 to 4.6.0 [(#2656)](https://togithub.com/mockito/mockito/issues/2656)
- Fix typo [(#2655)](https://togithub.com/mockito/mockito/pull/2655)
### [`v4.6.0`](https://togithub.com/mockito/mockito/releases/tag/v4.6.0)
[Compare Source](https://togithub.com/mockito/mockito/compare/v4.5.1...v4.6.0)
*Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)*
##### 4.6.0
- 2022-05-27 - [14 commit(s)](https://togithub.com/mockito/mockito/compare/v4.5.1...v4.6.0) by Hervé Boutemy, K. Siva Prasad Reddy, Rafael Winterhalter, dependabot\[bot]
- Bump shipkit-changelog from 1.1.15 to 1.2.0 [(#2654)](https://togithub.com/mockito/mockito/pull/2654)
- Bump versions.errorprone from 2.13.1 to 2.14.0 [(#2653)](https://togithub.com/mockito/mockito/pull/2653)
- Bump shipkit-auto-version from 1.1.20 to 1.2.0 [(#2651)](https://togithub.com/mockito/mockito/pull/2651)
- Fixes [#2648](https://togithub.com/mockito/mockito/issues/2648) : Add support for customising strictness via [@Mock](https://togithub.com/Mock) annotation and MockSettings [(#2650)](https://togithub.com/mockito/mockito/pull/2650)
- Any way to enable Strict Stubbing when using Mockito.mock() without using [@Mock](https://togithub.com/Mock)? [(#2648)](https://togithub.com/mockito/mockito/issues/2648)
- Reintroduce inheriting type annotations from interfaces if only one interface is mocked, including additional interfaces. [(#2645)](https://togithub.com/mockito/mockito/pull/2645)
- Bump com.diffplug.spotless from 6.6.0 to 6.6.1 [(#2643)](https://togithub.com/mockito/mockito/pull/2643)
- fix Reproducible Build issue [(#2642)](https://togithub.com/mockito/mockito/pull/2642)
- Bump com.diffplug.spotless from 6.5.2 to 6.6.0 [(#2641)](https://togithub.com/mockito/mockito/pull/2641)
- Mockito mock of interfaces lost annotation information [(#2640)](https://togithub.com/mockito/mockito/issues/2640)
- Bump material from 1.5.0 to 1.6.0 [(#2637)](https://togithub.com/mockito/mockito/pull/2637)
- Bump com.diffplug.spotless from 6.5.1 to 6.5.2 [(#2636)](https://togithub.com/mockito/mockito/pull/2636)
- Bump versions.bytebuddy from 1.12.9 to 1.12.10 [(#2635)](https://togithub.com/mockito/mockito/pull/2635)
- Bump com.diffplug.spotless from 6.5.0 to 6.5.1 [(#2632)](https://togithub.com/mockito/mockito/pull/2632)
- Bump com.diffplug.spotless from 6.4.2 to 6.5.0 [(#2631)](https://togithub.com/mockito/mockito/pull/2631)
### [`v4.5.1`](https://togithub.com/mockito/mockito/releases/tag/v4.5.1)
[Compare Source](https://togithub.com/mockito/mockito/compare/v4.5.0...v4.5.1)
*Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)*
##### 4.5.1
- 2022-04-21 - [2 commit(s)](https://togithub.com/mockito/mockito/compare/v4.5.0...v4.5.1) by Jeremy Landis, dependabot\[bot]
- Fixes [#2623](https://togithub.com/mockito/mockito/issues/2623): Use zulu distribution and java 11 for release GHA job [(#2624)](https://togithub.com/mockito/mockito/pull/2624)
- Missing errorprone module for 4.5.0 in central as release was done with jdk 8 [(#2623)](https://togithub.com/mockito/mockito/issues/2623)
- Bump kotlinVersion from 1.6.20 to 1.6.21 [(#2622)](https://togithub.com/mockito/mockito/pull/2622)
#### Missing `net.bytebuddy.utility.GraalImageCode` exception
If you encounter any issues with missing ByteBuddy classes, make sure you are using ByteBuddy 1.12 or higher.
### [`v4.5.0`](https://togithub.com/mockito/mockito/releases/tag/v4.5.0)
[Compare Source](https://togithub.com/mockito/mockito/compare/v4.4.0...v4.5.0)
*Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)*
##### 4.5.0
- 2022-04-19 - [15 commit(s)](https://togithub.com/mockito/mockito/compare/v4.4.0...v4.5.0) by Andrei Silviu Dragnea, Rafael Winterhalter, Rick Ossendrijver, dependabot\[bot]
- Bump versions.errorprone from 2.13.0 to 2.13.1 [(#2621)](https://togithub.com/mockito/mockito/pull/2621)
- Bump versions.errorprone from 2.12.1 to 2.13.0 [(#2619)](https://togithub.com/mockito/mockito/pull/2619)
- Groovy inline [(#2618)](https://togithub.com/mockito/mockito/pull/2618)
- Bump actions/setup-java from 2 to 3 [(#2615)](https://togithub.com/mockito/mockito/pull/2615)
- Bump versions.bytebuddy from 1.12.8 to 1.12.9 [(#2614)](https://togithub.com/mockito/mockito/pull/2614)
- Support subclass mocks on Graal VM. [(#2613)](https://togithub.com/mockito/mockito/pull/2613)
- Bump com.diffplug.spotless from 6.4.1 to 6.4.2 [(#2611)](https://togithub.com/mockito/mockito/pull/2611)
- Bump kotlinx-coroutines-core from 1.6.0-native-mt to 1.6.1-native-mt [(#2609)](https://togithub.com/mockito/mockito/pull/2609)
- Bump versions.errorprone from 2.10.0 to 2.12.1 [(#2608)](https://togithub.com/mockito/mockito/pull/2608)
- Bump kotlinVersion from 1.6.10 to 1.6.20 [(#2607)](https://togithub.com/mockito/mockito/pull/2607)
- Bump com.diffplug.spotless from 6.4.0 to 6.4.1 [(#2606)](https://togithub.com/mockito/mockito/pull/2606)
- Bump com.diffplug.spotless from 6.3.0 to 6.4.0 [(#2605)](https://togithub.com/mockito/mockito/pull/2605)
- Bump org.eclipse.osgi from 3.17.100 to 3.17.200 [(#2597)](https://togithub.com/mockito/mockito/pull/2597)
- Deprecate ListUtil and Fields classes [(#2593)](https://togithub.com/mockito/mockito/pull/2593)
- mockito-errorprone seems not compatible with ErrorProne 2.11.0 [(#2554)](https://togithub.com/mockito/mockito/issues/2554)
- NullPointerException from Groovy metaclass methods when using mockito-inline (but not mockito-core) [(#2522)](https://togithub.com/mockito/mockito/issues/2522)
### [`v4.4.0`](https://togithub.com/mockito/mockito/releases/tag/v4.4.0)
*Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)*
##### 4.4.0
- 2022-03-08 - [16 commit(s)](https://togithub.com/mockito/mockito/compare/v4.3.1...v4.4.0) by Andrew Kozel, Brice Dutheil, Jean-Baptiste Mille, Mirko Alicastro, dependabot\[bot]
- Bump groovy from 3.0.9 to 3.0.10 [(#2586)](https://togithub.com/mockito/mockito/pull/2586)
- Bump google-java-format from 1.14.0 to 1.15.0 [(#2585)](https://togithub.com/mockito/mockito/pull/2585)
- Bump actions/checkout from 2.4.0 to 3 [(#2582)](https://togithub.com/mockito/mockito/pull/2582)
- Bump shipkit-auto-version from 1.1.19 to 1.1.20 [(#2580)](https://togithub.com/mockito/mockito/pull/2580)
- Bump biz.aQute.bnd.builder from 6.1.0 to 6.2.0 [(#2579)](https://togithub.com/mockito/mockito/pull/2579)
- Bump biz.aQute.bnd.gradle from 6.1.0 to 6.2.0 [(#2578)](https://togithub.com/mockito/mockito/pull/2578)
- Adds a Google Java Format for JDK17 [(#2572)](https://togithub.com/mockito/mockito/pull/2572)
- Clean up JUnit3 references [(#2570)](https://togithub.com/mockito/mockito/pull/2570)
- Bump com.diffplug.spotless from 6.2.2 to 6.3.0 [(#2567)](https://togithub.com/mockito/mockito/pull/2567)
- Bump google-java-format from 1.13.0 to 1.14.0 [(#2565)](https://togithub.com/mockito/mockito/pull/2565)
- Bump versions.bytebuddy from 1.12.7 to 1.12.8 [(#2564)](https://togithub.com/mockito/mockito/pull/2564)
- Bump com.diffplug.spotless from 6.2.1 to 6.2.2 [(#2562)](https://togithub.com/mockito/mockito/pull/2562)
- Bump com.github.ben-manes.versions from 0.41.0 to 0.42.0 [(#2559)](https://togithub.com/mockito/mockito/pull/2559)
- Bump com.diffplug.spotless from 6.2.0 to 6.2.1 [(#2556)](https://togithub.com/mockito/mockito/pull/2556)
- Fixes [#2548](https://togithub.com/mockito/mockito/issues/2548) : Makes InOrder able to verify static methods [(#2549)](https://togithub.com/mockito/mockito/pull/2549)
- \[PR open] Add feature to verify static methods calls in order [(#2548)](https://togithub.com/mockito/mockito/issues/2548)
- Fixes [#2201](https://togithub.com/mockito/mockito/issues/2201) : Fixed checking of declared exceptions. [(#2547)](https://togithub.com/mockito/mockito/pull/2547)
- Calling getExceptionTypes() on concrete object that is used as interface doesn't return exception types from interface [(#2201)](https://togithub.com/mockito/mockito/issues/2201)
### [`v4.3.1`](https://togithub.com/mockito/mockito/releases/tag/v4.3.1)
*Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)*
##### 4.3.1
- 2022-01-25 - [1 commit(s)](https://togithub.com/mockito/mockito/compare/v4.3.0...v4.3.1) by Stefano Cordio
- Add `mockito-core` to the BOM [(#2550)](https://togithub.com/mockito/mockito/pull/2550)
### [`v4.3.0`](https://togithub.com/mockito/mockito/releases/tag/v4.3.0)
*Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)*
##### 4.3.0
- 2022-01-24 - [20 commit(s)](https://togithub.com/mockito/mockito/compare/v4.2.0...v4.3.0) by Andrew Kozel, John Pyeatt, Liam Miller-Cushon, Thomas Keller, Tim van der Lippe, dependabot\[bot], temp-droid
- Fixes [#2489](https://togithub.com/mockito/mockito/issues/2489) : Fixed issue related to exceptions thrown from the nested spies [(#2546)](https://togithub.com/mockito/mockito/pull/2546)
- Issue 2544 [(#2545)](https://togithub.com/mockito/mockito/pull/2545)
- Bump versions.bytebuddy from 1.12.6 to 1.12.7 [(#2543)](https://togithub.com/mockito/mockito/pull/2543)
- Bump com.diffplug.spotless from 6.1.2 to 6.2.0 [(#2542)](https://togithub.com/mockito/mockito/pull/2542)
- Bump material from 1.4.0 to 1.5.0 [(#2541)](https://togithub.com/mockito/mockito/pull/2541)
- Bump appcompat from 1.4.0 to 1.4.1 [(#2539)](https://togithub.com/mockito/mockito/pull/2539)
- Bump com.diffplug.spotless from 6.1.1 to 6.1.2 [(#2536)](https://togithub.com/mockito/mockito/pull/2536)
- Remove an `@link` [(#2535)](https://togithub.com/mockito/mockito/pull/2535)
- Bump com.diffplug.spotless from 6.1.0 to 6.1.1 [(#2534)](https://togithub.com/mockito/mockito/pull/2534)
- Bump com.github.ben-manes.versions from 0.40.0 to 0.41.0 [(#2533)](https://togithub.com/mockito/mockito/pull/2533)
- Bump assertj-core from 3.21.0 to 3.22.0 [(#2531)](https://togithub.com/mockito/mockito/pull/2531)
- Bump com.github.ben-manes.versions from 0.39.0 to 0.40.0 [(#2529)](https://togithub.com/mockito/mockito/pull/2529)
- Bump com.diffplug.spotless from 6.0.5 to 6.1.0 [(#2527)](https://togithub.com/mockito/mockito/pull/2527)
- Bump kotlinx-coroutines-core from 1.5.2-native-mt to 1.6.0-native-mt [(#2526)](https://togithub.com/mockito/mockito/pull/2526)
- Bump versions.bytebuddy from 1.12.5 to 1.12.6 [(#2524)](https://togithub.com/mockito/mockito/pull/2524)
- Bump com.diffplug.spotless from 6.0.4 to 6.0.5 [(#2520)](https://togithub.com/mockito/mockito/pull/2520)
- Bump versions.bytebuddy from 1.12.4 to 1.12.5 [(#2519)](https://togithub.com/mockito/mockito/pull/2519)
- Fixes [#2510](https://togithub.com/mockito/mockito/issues/2510): Remove ExpectedException from internal test suite [(#2518)](https://togithub.com/mockito/mockito/pull/2518)
- Fix JavaDoc warnings and enforce zero errors in Gradle [(#2513)](https://togithub.com/mockito/mockito/pull/2513)
- Remove `ExpectedException` from internal test suite [(#2510)](https://togithub.com/mockito/mockito/issues/2510)
- Incomplete stack trace returned from spy inside another spy [(#2489)](https://togithub.com/mockito/mockito/issues/2489)
- Introduce a BOM for Mockito's artifacts (closes [#2321](https://togithub.com/mockito/mockito/issues/2321)) [(#2323)](https://togithub.com/mockito/mockito/pull/2323)
- Provide a bill of materials (BOM) [(#2321)](https://togithub.com/mockito/mockito/issues/2321)
### [`v4.2.0`](https://togithub.com/mockito/mockito/releases/tag/v4.2.0)
[Compare Source](https://togithub.com/mockito/mockito/compare/v4.1.0...v4.2.0)
*Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)*
##### 4.2.0
- 2021-12-16 - [21 commit(s)](https://togithub.com/mockito/mockito/compare/v4.1.0...v4.2.0) by Liam Miller-Cushon, Rafael Winterhalter, Tim van der Lippe, dependabot\[bot], temp-droid
- Update ByteBuddy to 1.12.4 [(#2515)](https://togithub.com/mockito/mockito/pull/2515)
- Bump kotlinVersion from 1.6.0 to 1.6.10 [(#2514)](https://togithub.com/mockito/mockito/pull/2514)
- Add DoNotMock mention to main JavaDoc [(#2512)](https://togithub.com/mockito/mockito/pull/2512)
- Replace ExpectedException in MissingInvocationInOrderCheckerTest [(#2511)](https://togithub.com/mockito/mockito/pull/2511)
- Update Gradle to version 7.3.1 [(#2509)](https://togithub.com/mockito/mockito/pull/2509)
- Fixes [#2497](https://togithub.com/mockito/mockito/issues/2497): Throw exception on invalid matchers for `mockStatic` [(#2506)](https://togithub.com/mockito/mockito/pull/2506)
- Make sure interface types are initialized before inline mocking to avoid blocking code of static initializers. [(#2505)](https://togithub.com/mockito/mockito/pull/2505)
- Bump org.eclipse.osgi from 3.17.0 to 3.17.100 [(#2504)](https://togithub.com/mockito/mockito/pull/2504)
- Bump com.diffplug.spotless from 6.0.2 to 6.0.4 [(#2501)](https://togithub.com/mockito/mockito/pull/2501)
- Bump com.diffplug.spotless from 6.0.1 to 6.0.2 [(#2498)](https://togithub.com/mockito/mockito/pull/2498)
- ArgumentMatchers not working for Mockito.mockStatic [(#2497)](https://togithub.com/mockito/mockito/issues/2497)
- Bump versions.bytebuddy from 1.12.2 to 1.12.3 [(#2496)](https://togithub.com/mockito/mockito/pull/2496)
- Bump com.diffplug.spotless from 6.0.0 to 6.0.1 [(#2495)](https://togithub.com/mockito/mockito/pull/2495)
- Remove the recommendation to import ArgumentMatchers methods using Mockito [(#2494)](https://togithub.com/mockito/mockito/pull/2494)
- Bump versions.junitJupiter from 5.8.1 to 5.8.2 [(#2491)](https://togithub.com/mockito/mockito/pull/2491)
- Bump junit-platform-launcher from 1.8.1 to 1.8.2 [(#2490)](https://togithub.com/mockito/mockito/pull/2490)
- Fix typo 'DoNoMock' should be 'DoNotMock' [(#2487)](https://togithub.com/mockito/mockito/pull/2487)
- Bump biz.aQute.bnd.gradle from 6.0.0 to 6.1.0 [(#2486)](https://togithub.com/mockito/mockito/pull/2486)
- Bump biz.aQute.bnd.builder from 6.0.0 to 6.1.0 [(#2485)](https://togithub.com/mockito/mockito/pull/2485)
- Bump versions.bytebuddy from 1.12.1 to 1.12.2 [(#2484)](https://togithub.com/mockito/mockito/pull/2484)
- Bump google-java-format from 1.12.0 to 1.13.0 [(#2483)](https://togithub.com/mockito/mockito/pull/2483)
- Add annotation to mark a type as DoNotMock [(#1833)](https://togithub.com/mockito/mockito/pull/1833)
### [`v4.1.0`](https://togithub.com/mockito/mockito/releases/tag/v4.1.0)
[Compare Source](https://togithub.com/mockito/mockito/compare/v4.0.0...v4.1.0)
##### 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.html
*Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)*
##### 4.1.0
- 2021-11-19 - [20 commit(s)](https://togithub.com/mockito/mockito/compare/v4.0.0...v4.1.0) by Lars Vogel, Mikaël Francoeur, S.YAMAMOTO, Tim van der Lippe, dependabot\[bot]
- Disable memory test [(#2480)](https://togithub.com/mockito/mockito/pull/2480)
- Bump appcompat from 1.3.1 to 1.4.0 [(#2477)](https://togithub.com/mockito/mockito/pull/2477)
- Bump kotlinVersion from 1.5.31 to 1.6.0 [(#2474)](https://togithub.com/mockito/mockito/pull/2474)
- Bump versions.bytebuddy from 1.12.0 to 1.12.1 [(#2472)](https://togithub.com/mockito/mockito/pull/2472)
- Bump com.diffplug.gradle.spotless from 4.5.1 to 6.0.0 [(#2471)](https://togithub.com/mockito/mockito/pull/2471)
- Bump versions.bytebuddy from 1.11.22 to 1.12.0 [(#2469)](https://togithub.com/mockito/mockito/pull/2469)
- Bump versions.errorprone from 2.9.0 to 2.10.0 [(#2466)](https://togithub.com/mockito/mockito/pull/2466)
- Bump auto-service from 1.0 to 1.0.1 [(#2463)](https://togithub.com/mockito/mockito/pull/2463)
- Bump actions/checkout from 2.3.5 to 2.4.0 [(#2462)](https://togithub.com/mockito/mockito/pull/2462)
- Fixes [#2460](https://togithub.com/mockito/mockito/issues/2460): Remove a sentence commits to a particular version [(#2461)](https://togithub.com/mockito/mockito/pull/2461)
- Clarify Javadoc of RETURNS_SMART_NULLS, default answer in Mockito 4.0.0? [(#2460)](https://togithub.com/mockito/mockito/issues/2460)
- Bump versions.bytebuddy from 1.11.21 to 1.11.22 [(#2458)](https://togithub.com/mockito/mockito/pull/2458)
- Updated readme with the latest Mockito version [(#2456)](https://togithub.com/mockito/mockito/pull/2456)
- Bump core-ktx from 1.6.0 to 1.7.0 [(#2454)](https://togithub.com/mockito/mockito/pull/2454)
- Bump google-java-format from 1.11.0 to 1.12.0 [(#2450)](https://togithub.com/mockito/mockito/pull/2450)
- Bump versions.bytebuddy from 1.11.20 to 1.11.21 [(#2448)](https://togithub.com/mockito/mockito/pull/2448)
- Use new CodeCov uploader [(#2447)](https://togithub.com/mockito/mockito/pull/2447)
- Bump actions/checkout from 2.3.4 to 2.3.5 [(#2445)](https://togithub.com/mockito/mockito/pull/2445)
- Fixes [#2389](https://togithub.com/mockito/mockito/issues/2389) : Parallel use of mocks with deep stubbing may lead to ConcurrentModificationException [(#2444)](https://togithub.com/mockito/mockito/pull/2444)
- Bump versions.bytebuddy from 1.11.19 to 1.11.20 [(#2443)](https://togithub.com/mockito/mockito/pull/2443)
- Parallel use of mocks with deep stubbing may lead to ConcurrentModificationException [(#2389)](https://togithub.com/mockito/mockito/issues/2389)
- Add annotation to mark a type as DoNotMock [(#1833)](https://togithub.com/mockito/mockito/pull/1833)
- Cannot mock this class: class java.io.InputStream with Java 13 [(#1827)](https://togithub.com/mockito/mockito/issues/1827)
- Cannot mock wrapper types, String.class or Class.class [(#1734)](https://togithub.com/mockito/mockito/issues/1734)
### [`v4.0.0`](https://togithub.com/mockito/mockito/releases/tag/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.
### [`v3.12.4`](https://togithub.com/mockito/mockito/releases/tag/v3.12.4)
*Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)*
##### 3.12.4
- 2021-08-25 - [1 commit(s)](https://togithub.com/mockito/mockito/compare/v3.12.3...v3.12.4) by Rafael Winterhalter
- No notable improvements. No pull requests (issues) were referenced from commits.
### [`v3.12.3`](https://togithub.com/mockito/mockito/releases/tag/v3.12.3)
*Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)*
##### 3.12.3
- 2021-08-24 - [9 commit(s)](https://togithub.com/mockito/mockito/compare/v3.12.2...v3.12.3) by Rafael Winterhalter
- Fix implementation of proxy mock maker for toString and add additional unit tests. [(#2405)](https://togithub.com/mockito/mockito/pull/2405)
- Avoid cache breakage [(#2402)](https://togithub.com/mockito/mockito/pull/2402)
- Add a limited mock maker that is based only on the java.lang.reflect.Proxy utility [(#2397)](https://togithub.com/mockito/mockito/pull/2397)
### [`v3.12.2`](https://togithub.com/mockito/mockito/releases/tag/v3.12.2)
*Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)*
##### 3.12.2
- 2021-08-24 - [2 commit(s)](https://togithub.com/mockito/mockito/compare/v3.12.1...v3.12.2) by Dmitry Vyazelenko, dependabot\[bot]
- Fixes [#2399](https://togithub.com/mockito/mockito/issues/2399) : Adds defaultAnswer to the MockitoMockKey to distinguish the mock types, i.e. to separate mocks from spies otherwise spy type is reused for a mock or vice versa. [(#2400)](https://togithub.com/mockito/mockito/pull/2400)
- Sporadic mock verification failures related to hashCode/equals on 3.12.1 [(#2399)](https://togithub.com/mockito/mockito/issues/2399)
- Bump versions.errorprone from 2.8.1 to 2.9.0 [(#2396)](https://togithub.com/mockito/mockito/pull/2396)
### [`v3.12.1`](https://togithub.com/mockito/mockito/releases/tag/v3.12.1)
*Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)*
##### 3.12.1
- 2021-08-20 - [2 commit(s)](https://togithub.com/mockito/mockito/compare/v3.12.0...v3.12.1) by Tim van der Lippe, dependabot\[bot]
- Fix verifyNoMoreInteractions inOrder invocations for spies [(#2395)](https://togithub.com/mockito/mockito/pull/2395)
- Regression with InOrder verification after [#2369](https://togithub.com/mockito/mockito/issues/2369) [(#2394)](https://togithub.com/mockito/mockito/issues/2394)
- Bump versions.bytebuddy from 1.11.12 to 1.11.13 [(#2393)](https://togithub.com/mockito/mockito/pull/2393)
### [`v3.12.0`](https://togithub.com/mockito/mockito/releases/tag/v3.12.0)
*Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)*
##### 3.12.0
- 2021-08-19 - [31 commit(s)](https://togithub.com/mockito/mockito/compare/v3.11.2...v3.12.0) by EugeneLesnov, Lars Vogel, Logan Rosen, Rafael Winterhalter, Rob Pridham, Tim van der Lippe, dependabot\[bot], saurabh7248
- Add checks for sealed types [(#2392)](https://togithub.com/mockito/mockito/pull/2392)
- Bump versions.bytebuddy from 1.11.10 to 1.11.12 [(#2388)](https://togithub.com/mockito/mockito/pull/2388)
- Bump versions.bytebuddy from 1.11.9 to 1.11.10 [(#2387)](https://togithub.com/mockito/mockito/pull/2387)
- Bump versions.errorprone from 2.8.0 to 2.8.1 [(#2386)](https://togithub.com/mockito/mockito/pull/2386)
- Update StaticMockTest to use unified verify method [(#2385)](https://togithub.com/mockito/mockito/pull/2385)
- Reorder InjectMock Javadoc to fit the order of injection [(#2383)](https://togithub.com/mockito/mockito/pull/2383)
- Bump core-ktx from 1.5.0 to 1.6.0 [(#2382)](https://togithub.com/mockito/mockito/pull/2382)
- Bump google-java-format from 1.10.0 to 1.11.0 [(#2381)](https://togithub.com/mockito/mockito/pull/2381)
- Downgrade Android gradle plugin [(#2380)](https://togithub.com/mockito/mockito/pull/2380)
- Applied [@CheckReturnValue](https://togithub.com/CheckReturnValue) to some classes [(#2379)](https://togithub.com/mockito/mockito/pull/2379)
- how to solve gradle sync failed after 'Add basic Android instrumented and unit tests' [(#2378)](https://togithub.com/mockito/mockito/issues/2378)
- Bump junit from 1.1.2 to 1.1.3 [(#2377)](https://togithub.com/mockito/mockito/pull/2377)
- Bump appcompat from 1.3.0 to 1.3.1 [(#2376)](https://togithub.com/mockito/mockito/pull/2376)
- Bump kotlin-gradle-plugin from 1.5.20 to 1.5.21 [(#2374)](https://togithub.com/mockito/mockito/pull/2374)
- Bump material from 1.3.0 to 1.4.0 [(#2373)](https://togithub.com/mockito/mockito/pull/2373)
- Bump espresso-core from 3.3.0 to 3.4.0 [(#2372)](https://togithub.com/mockito/mockito/pull/2372)
- Fixes [#2331](https://togithub.com/mockito/mockito/issues/2331) [(#2369)](https://togithub.com/mockito/mockito/pull/2369)
- Fix typo in exception [(#2368)](https://togithub.com/mockito/mockito/pull/2368)
- Bump versions.bytebuddy from 1.11.8 to 1.11.9 [(#2367)](https://togithub.com/mockito/mockito/pull/2367)
- Bump versions.errorprone from 2.7.1 to 2.8.0 [(#2365)](https://togithub.com/mockito/mockito/pull/2365)
- Bump versions.bytebuddy from 1.11.7 to 1.11.8 [(#2361)](https://togithub.com/mockito/mockito/pull/2361)
- Basic Android instrumented and unit tests (closes [#2341](https://togithub.com/mockito/mockito/issues/2341)) [(#2360)](https://togithub.com/mockito/mockito/pull/2360)
- Bump versions.bytebuddy from 1.11.6 to 1.11.7 [(#2359)](https://togithub.com/mockito/mockito/pull/2359)
- Bump kotlin-stdlib from 1.5.20 to 1.5.21 [(#2356)](https://togithub.com/mockito/mockito/pull/2356)
- Bump kotlinx-coroutines-core from 1.5.1 to 1.5.1-native-mt [(#2354)](https://togithub.com/mockito/mockito/pull/2354)
- Bump kotlinx-coroutines-core from 1.5.0-native-mt to 1.5.1 [(#2353)](https://togithub.com/mockito/mockito/pull/2353)
- Bump versions.bytebuddy from 1.11.5 to 1.11.6 [(#2351)](https://togithub.com/mockito/mockito/pull/2351)
- Bump gradle-errorprone-plugin from 2.0.1 to 2.0.2 [(#2347)](https://togithub.com/mockito/mockito/pull/2347)
- Bump kotlin-stdlib from 1.5.10 to 1.5.20 [(#2343)](https://togithub.com/mockito/mockito/pull/2343)
- Bump versions.bytebuddy from 1.11.3 to 1.11.5 [(#2337)](https://togithub.com/mockito/mockito/pull/2337)
- Bump assertj-core from 3.20.1 to 3.20.2 [(#2336)](https://togithub.com/mockito/mockito/pull/2336)
- Spy doesn't forward hashcode/equals to actual object [(#2331)](https://togithub.com/mockito/mockito/issues/2331)
- Fixes [#2311](https://togithub.com/mockito/mockito/issues/2311) [(#2320)](https://togithub.com/mockito/mockito/pull/2320)
### [`v3.11.2`](https://togithub.com/mockito/mockito/releases/tag/v3.11.2)
[Compare Source](https://togithub.com/mockito/mockito/compare/v3.11.1...v3.11.2)
*Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)*
##### 3.11.2
- 2021-06-21 - [5 commit(s)](https://togithub.com/mockito/mockito/compare/v3.11.1...v3.11.2) by dependabot\[bot]
- Bump versions.bytebuddy from 1.11.2 to 1.11.3 [(#2333)](https://togithub.com/mockito/mockito/pull/2333)
- Bump assertj-core from 3.20.0 to 3.20.1 [(#2332)](https://togithub.com/mockito/mockito/pull/2332)
- Bump org.eclipse.osgi from 3.16.200 to 3.16.300 [(#2330)](https://togithub.com/mockito/mockito/pull/2330)
- Bump assertj-core from 3.19.0 to 3.20.0 [(#2329)](https://togithub.com/mockito/mockito/pull/2329)
- Bump shipkit-auto-version from 1.1.17 to 1.1.19 [(#2328)](https://togithub.com/mockito/mockito/pull/2328)
### [`v3.11.1`](https://togithub.com/mockito/mockito/releases/tag/v3.11.1)
*Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)*
##### 3.11.1
- 2021-06-11 - [3 commit(s)](https://togithub.com/mockito/mockito/compare/v3.11.0...v3.11.1) by Charles Munger, dependabot\[bot]
- Bump versions.bytebuddy from 1.11.1 to 1.11.2 [(#2322)](https://togithub.com/mockito/mockito/pull/2322)
- Check package-privacy of method params [(#2318)](https://togithub.com/mockito/mockito/pull/2318)
- Bump shipkit-auto-version from 1.1.16 to 1.1.17 [(#2317)](https://togithub.com/mockito/mockito/pull/2317)
### [`v3.11.0`](https://togithub.com/mockito/mockito/releases/tag/v3.11.0)
*Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)*
##### 3.11.0
- 2021-06-03 - [18 commit(s)](https://togithub.com/mockito/mockito/compare/v3.10.0...v3.11.0) by Charles Munger, Szczepan Faber, dependabot\[bot]
- Bump versions.bytebuddy from 1.11.0 to 1.11.1 [(#2313)](https://togithub.com/mockito/mockito/pull/2313)
- Undo parent for MultipleParentsClassLoader [(#2312)](https://togithub.com/mockito/mockito/pull/2312)
- Bump shipkit-auto-version from 1.1.14 to 1.1.16 [(#2310)](https://togithub.com/mockito/mockito/pull/2310)
- Bump gradle/wrapper-validation-action from 1.0.3 to 1.0.4 [(#2309)](https://togithub.com/mockito/mockito/pull/2309)
- Bump com.github.ben-manes.versions from 0.38.0 to 0.39.0 [(#2308)](https://togithub.com/mockito/mockito/pull/2308)
- Bump shipkit-auto-version from 1.1.11 to 1.1.14 [(#2307)](https://togithub.com/mockito/mockito/pull/2307)
- Use the parent classloader if the context classloader is a child of it. [(#2306)](https://togithub.com/mockito/mockito/pull/2306)
- Bump kotlin-stdlib from 1.5.0 to 1.5.10 [(#2305)](https://togithub.com/mockito/mockito/pull/2305)
- "The type is not public and its mock class is loaded by a different class loader" with a context classloader that delegates [(#2303)](https://togithub.com/mockito/mockito/issues/2303)
- Enabled automated changelog [(#2301)](https://togithub.com/mockito/mockito/pull/2301)
- Bump kotlinx-coroutines-core from 1.4.3-native-mt to 1.5.0-native-mt [(#2299)](https://togithub.com/mockito/mockito/pull/2299)
- Bump versions.errorprone from 2.6.0 to 2.7.1 [(#2298)](https://togithub.com/mockito/mockito/pull/2298)
- Bump junit-platform-launcher from 1.7.1 to 1.7.2 [(#2297)](https://togithub.com/mockito/mockito/pull/2297)
- Bump versions.junitJupiter from 5.7.1 to 5.7.2 [(#2296)](https://togithub.com/mockito/mockito/pull/2296)
- Renamed main dev branch [(#2295)](https://togithub.com/mockito/mockito/pull/2295)
- Bump gradle/wrapper-validation-action from 1 to 1.0.3 [(#2294)](https://togithub.com/mockito/mockito/pull/2294)
- Bump actions/checkout from 2 to 2.3.4 [(#2293)](https://togithub.com/mockito/mockito/pull/2293)
- 'this' is not available - when enabling mock-maker-inline [(#2082)](https://togithub.com/mockito/mockito/issues/2082)
### [`v3.10.0`](https://togithub.com/mockito/mockito/releases/tag/v3.10.0)
*Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)*
##### 3.10.0
- 2021-05-12 - [0 commit(s)](https://togithub.com/mockito/mockito/compare/HEAD...v3.10.0) by
- No notable improvements. No pull requests (issues) were referenced from commits.
### [`v3.8.0`](https://togithub.com/mockito/mockito/releases/tag/v3.8.0)
*Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)*
##### 3.8.0
- 2021-02-22 - [1 commit(s)](https://togithub.com/mockito/mockito/compare/v3.7.18...v3.8.0) by Tim van der Lippe
- Publish new minor version to Maven central [(#2213)](https://togithub.com/mockito/mockito/pull/2213)
### [`v3.7.7`](https://togithub.com/mockito/mockito/releases/tag/v3.7.7)
*Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)*
##### 3.7.7
- 2021-01-16 - [1 commit(s)](https://togithub.com/mockito/mockito/compare/v3.7.6...v3.7.7) by Stefan Bohn
- Fix reversed order of verify parameters [(#2179)](https://togithub.com/mockito/mockito/pull/2179)
- Feature request: Unify order of parameters [(#2173)](https://togithub.com/mockito/mockito/issues/2173)
### [`v3.7.0`](https://togithub.com/mockito/mockito/releases/tag/v3.7.0)
*Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)*
##### 3.7.0
- 2021-01-04 - [2 commit(s)](https://togithub.com/mockito/mockito/compare/v3.6.54...v3.7.0) by Szczepan Faber, Tim van der Lippe
- Publish new minor version to Maven central [(#2165)](https://togithub.com/mockito/mockito/pull/2165)
### [`v3.6.28`](https://togithub.com/mockito/mockito/releases/tag/v3.6.28)
*Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)*
##### 3.6.28
- 2020-11-25 - [1 commit(s)](https://togithub.com/mockito/mockito/compare/v3.6.27...v3.6.28) by Szczepan Faber
- No notable improvements. No pull requests (issues) were referenced from commits.
### [`v3.6.26`](https://togithub.com/mockito/mockito/releases/tag/v3.6.26)
*Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)*
##### 3.6.26
- 2020-11-25 - [2 commit(s)](https://togithub.com/mockito/mockito/compare/v3.6.25...v3.6.26) by Szczepan Faber, sfaber
- Enabled releases to Maven Central [(#2111)](https://togithub.com/mockito/mockito/pull/2111)
### [`v3.6.0`](https://togithub.com/mockito/mockito/releases/tag/v3.6.0)
*Release notes were automatically generated by [Shipkit](http://shipkit.org/)*
##### 3.6.0
- 2020-10-27 - [7 commits](https://togithub.com/mockito/mockito/compare/v3.5.15...v3.6.0) by [Szczepan Faber](https://togithub.com/mockitoguy) (4), [shipkit-org](https://togithub.com/shipkit-org) (2), [Tim van der Lippe](https://togithub.com/TimvdLippe) (1) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.6.0-green.svg)](https://bintray.com/mockito/maven/mockito/3.6.0)
- Retry the release [(#2078)](https://togithub.com/mockito/mockito/pull/2078)
- Retry 3.6.0 release [(#2077)](https://togithub.com/mockito/mockito/pull/2077)
### [`v3.5.15`](https://togithub.com/mockito/mockito/releases/tag/v3.5.15)
*Release notes were automatically generated by [Shipkit](http://shipkit.org/)*
##### 3.5.15
- 2020-10-19 - [4 commits](https://togithub.com/mockito/mockito/compare/v3.5.14...v3.5.15) by [Rafael Winterhalter](https://togithub.com/raphw) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.5.15-green.svg)](https://bintray.com/mockito/maven/mockito/3.5.15)
- Mock resolver plugin [(#2042)](https://togithub.com/mockito/mockito/pull/2042)
### [`v3.5.13`](https://togithub.com/mockito/mockito/releases/tag/v3.5.13)
*Release notes were automatically generated by [Shipkit](http://shipkit.org/)*
##### 3.5.13
- 2020-09-24 - [1 commit](https://togithub.com/mockito/mockito/compare/v3.5.12...v3.5.13) by [Sinan Kozak](https://togithub.com/kozaxinan) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.5.13-green.svg)](https://bintray.com/mockito/maven/mockito/3.5.13)
- Use single version for strictly in mockito-android [(#2053)](https://togithub.com/mockito/mockito/pull/2053)
### [`v3.5.11`](https://togithub.com/mockito/mockito/releases/tag/v3.5.11)
*Release notes were automatically generated by [Shipkit](http://shipkit.org/)*
##### 3.5.11
- 2020-09-17 - [2 commits](https://togithub.com/mockito/mockito/compare/v3.5.10...v3.5.11) by [Rafael Winterhalter](https://togithub.com/raphw) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.5.11-green.svg)](https://bintray.com/mockito/maven/mockito/3.5.11)
- Do not exclude synthetic constructors from instrumentation. Fixes [#2040](https://togithub.com/mockito/mockito/issues/2040). [(#2046)](https://togithub.com/mockito/mockito/pull/2046)
- Mockito.spy(Activity).getBaseContext() returns null on Robolectric 4.4 and Java8 [(#2040)](https://togithub.com/mockito/mockito/issues/2040)
### [`v3.5.10`](https://togithub.com/mockito/mockito/releases/tag/v3.5.10)
*Release notes were automatically generated by [Shipkit](http://shipkit.org/)*
##### 3.5.10
- 2020-09-03 - [2 commits](https://togithub.com/mockito/mockito/compare/v3.5.9...v3.5.10) by [Rafael Winterhalter](https://togithub.com/raphw) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.5.10-green.svg)](https://bintray.com/mockito/maven/mockito/3.5.10)
- Escape mock during method dispatch on mock to avoid premature garbage collection. [(#2034)](https://togithub.com/mockito/mockito/pull/2034)
- Exception "The mock object was garbage collected." [(#1802)](https://togithub.com/mockito/mockito/issues/1802)
### [`v3.5.9`](https://togithub.com/mockito/mockito/releases/tag/v3.5.9)
*Release notes were automatically generated by [Shipkit](http://shipkit.org/)*
##### 3.5.9
- 2020-09-01 - [1 commit](https://togithub.com/mockito/mockito/compare/v3.5.8...v3.5.9) by [Sinan Kozak](https://togithub.com/kozaxinan) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.5.9-green.svg)](https://bintray.com/mockito/maven/mockito/3.5.9)
- Fixes [#2007](https://togithub.com/mockito/mockito/issues/2007) : Downgrade objenesis version for mockito-android [(#2024)](https://togithub.com/mockito/mockito/pull/2024)
- Android instrumentation test packaging fails for mockito-android 3.5.0 with minSdk < 26 [(#2007)](https://togithub.com/mockito/mockito/issues/2007)
### [`v3.5.7`](https://togithub.com/mockito/mockito/releases/tag/v3.5.7)
*Release notes were automatically generated by [Shipkit](http://shipkit.org/)*
##### 3.5.7
- 2020-08-25 - [2 commits](https://togithub.com/mockito/mockito/compare/v3.5.6...v3.5.7) by [Rafael Winterhalter](https://togithub.com/raphw) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.5.7-green.svg)](https://bintray.com/mockito/maven/mockito/3.5.7)
- Initializes classes prior to instrumentation to avoid uncontrolled code execution. [(#2023)](https://togithub.com/mockito/mockito/pull/2023)
- Stackoverflow error when upgrading to v3.5.2 [(#2011)](https://togithub.com/mockito/mockito/issues/2011)
### [`v3.5.6`](https://togithub.com/mockito/mockito/releases/tag/v3.5.6)
*Release notes were automatically generated by [Shipkit](http://shipkit.org/)*
##### 3.5.6
- 2020-08-24 - [5 commits](https://togithub.com/mockito/mockito/compare/v3.5.5...v3.5.6) by [Rafael Winterhalter](https://togithub.com/raphw) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.5.6-green.svg)](https://bintray.com/mockito/maven/mockito/3.5.6)
- Only apply argument on illegal module access for inline tests if Java version is at least 9. [(#2022)](https://togithub.com/mockito/mockito/pull/2022)
- Constructor dispatch [(#2021)](https://togithub.com/mockito/mockito/pull/2021)
### [`v3.5.5`](https://togithub.com/mockito/mockito/releases/tag/v3.5.5)
*Release notes were automatically generated by [Shipkit](http://shipkit.org/)*
##### 3.5.5
- 2020-08-22 - [3 commits](https://togithub.com/mockito/mockito/compare/v3.5.4...v3.5.5) by [Rafael Winterhalter](https://togithub.com/raphw) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.5.5-green.svg)](https://bintray.com/mockito/maven/mockito/3.5.5)
- Constructor dispatch [(#2020)](https://togithub.com/mockito/mockito/pull/2020)
### [`v3.5.2`](https://togithub.com/mockito/mockito/releases/tag/v3.5.2)
*Release notes were automatically generated by [Shipkit](http://shipkit.org/)*
##### 3.5.2
- 2020-08-18 - [1 commit](https://togithub.com/mockito/mockito/compare/v3.5.1...v3.5.2) by [Tim van der Lippe](https://togithub.com/TimvdLippe) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.5.2-green.svg)](https://bintray.com/mockito/maven/mockito/3.5.2)
- No pull requests referenced in commit messages.
### [`v3.5.0`](https://togithub.com/mockito/mockito/releases/tag/v3.5.0)
*Release notes were automatically generated by [Shipkit](http://shipkit.org/)*
##### 3.5.0
- 2020-08-15 - [9 commits](https://togithub.com/mockito/mockito/compare/v3.4.8...v3.5.0) by [Rafael Winterhalter](https://togithub.com/raphw) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.5.0-green.svg)](https://bintray.com/mockito/maven/mockito/3.5.0)
- Pre release 3.5.0 [(#2004)](https://togithub.com/mockito/mockito/pull/2004)
### [`v3.4.6`](https://togithub.com/mockito/mockito/releases/tag/v3.4.6)
*Release notes were automatically generated by [Shipkit](http://shipkit.org/)*
##### 3.4.6
- 2020-07-29 - [3 commits](https://togithub.com/mockito/mockito/compare/v3.4.5...v3.4.6) by [Rafael Winterhalter](https://togithub.com/raphw) (2), [Valery Yatsynovich](https://togithub.com/valfirst) (1) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.4.6-green.svg)](https://bintray.com/mockito/maven/mockito/3.4.6)
- \[Bugfixes] Do not pass static mocks to regular listener callback. [(#1989)](https://togithub.com/mockito/mockito/pull/1989)
- MockitoJUnitRunner causes NPE when using [@Mock](https://togithub.com/Mock) on MockedStatic fields [(#1988)](https://togithub.com/mockito/mockito/issues/1988)
- Fixes [#1985](https://togithub.com/mockito/mockito/issues/1985) : Update README to refer the latest documentation [(#1986)](https://togithub.com/mockito/mockito/pull/1986)
- README should refer the latest available documentation [(#1985)](https://togithub.com/mockito/mockito/issues/1985)
### [`v3.4.4`](https://togithub.com/mockito/mockito/releases/tag/v3.4.4)
*Release notes were automatically generated by [Shipkit](http://shipkit.org/)*
##### 3.4.4
- 2020-07-18 - [2 commits](https://togithub.com/mockito/mockito/compare/v3.4.3...v3.4.4) by [Rafael Winterhalter](https://togithub.com/raphw) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.4.4-green.svg)](https://bintray.com/mockito/maven/mockito/3.4.4)
- Fixes [#1855](https://togithub.com/mockito/mockito/issues/1855) and [#939](https://togithub.com/mockito/mockito/issues/939): improve error message when the inline mock maker cannot be used. [(#1974)](https://togithub.com/mockito/mockito/pull/1974)
- javax.tools.ToolProvider could not be found in InlineByteBuddyMockMaker [(#1855)](https://togithub.com/mockito/mockito/issues/1855)
### [`v3.4.3`](https://togithub.com/mockito/mockito/releases/tag/v3.4.3)
*Release notes were automatically generated by [Shipkit](http://shipkit.org/)*
##### 3.4.3
- 2020-07-17 - [1 commit](https://togithub.com/mockito/mockito/compare/v3.4.2...v3.4.3) by [Robert Chmielowiec](https://togithub.com/chmielowiec) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.4.3-green.svg)](https://bintray.com/mockito/maven/mockito/3.4.3)
- Fix Javadoc invalid syntax [(#1978)](https://togithub.com/mockito/mockito/pull/1978)
- Broken documentation [(#1977)](https://togithub.com/mockito/mockito/issues/1977)
### [`v3.4.2`](https://togithub.com/mockito/mockito/releases/tag/v3.4.2)
*Release notes were automatically generated by [Shipkit](http://shipkit.org/)*
##### 3.4.2
- 2020-07-16 - [2 commits](https://togithub.com/mockito/mockito/compare/v3.4.1...v3.4.2) by [Rafael Winterhalter](https://togithub.com/raphw) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.4.2-green.svg)](https://bintray.com/mockito/maven/mockito/3.4.2)
- Fixes [#1967](https://togithub.com/mockito/mockito/issues/1967): Correctly handle mocks with limited life-cycle in listeners. [(#1968)](https://togithub.com/mockito/mockito/pull/1968)
- Static method mocks incompatible with MockitoExtension (NotAMockException) [(#1967)](https://togithub.com/mockito/mockito/issues/1967)
### [`v3.4.0`](https://togithub.com/mockito/mockito/releases/tag/v3.4.0)
*Release notes were automatically generated by [Shipkit](http://shipkit.org/)*
##### 3.4.0
- 2020-07-10 - [19 commits](https://togithub.com/mockito/mockito/compare/v3.3.12...v3.4.0) by 9 authors - published to [![Bintray](https://img.shields.io/badge/Bintray-3.4.0-green.svg)](https://bintray.com/mockito/maven/mockito/3.4.0)
- Commits: [Tim van der Lippe](https://togithub.com/TimvdLippe) (5), [Erhard Pointl](https://togithub.com/epeee) (4), [Rafael Winterhalter](https://togithub.com/raphw) (3), [Eitan Adler](https://togithub.com/grimreaper) (2), adrianriley (1), akluball (1), [Artem Prigoda](https://togithub.com/arteam) (1), [Jamie Tanna](https://togithub.com/jamietanna) (1), [Naoki Takezoe](https://togithub.com/takezoe) (1)
- \[Android support] Enable mocking static methods in Mockito [(#1013)](https://togithub.com/mockito/mockito/issues/1013)
- Document using `@Mock` with method parameters [(#1961)](https://togithub.com/mockito/mockito/pull/1961)
- Documentation: `@Mock` on method parameters [(#1960)](https://togithub.com/mockito/mockito/issues/1960)
- Update errorprone gradle plugin to v1.2.1 [(#1958)](https://togithub.com/mockito/mockito/pull/1958)
- Update spotless Travis job name to be more descriptive [(#1957)](https://togithub.com/mockito/mockito/pull/1957)
- Fix a confusing typo in subclassing error message [(#1953)](https://togithub.com/mockito/mockito/pull/1953)
- Update bnd gradle plugin to v5.1.1 [(#1952)](https://togithub.com/mockito/mockito/pull/1952)
- Use errorprone 2.4.0 [(#1951)](https://togithub.com/mockito/mockito/pull/1951)
- Use jacoco v0.8.5 [(#1950)](https://togithub.com/mockito/mockito/pull/1950)
- Fixes [#1712](https://togithub.com/mockito/mockito/issues/1712) : prepend description to AssertionError thrown in verification [(#1949)](https://togithub.com/mockito/mockito/pull/1949)
- Update gradle 6 [(#1948)](https://togithub.com/mockito/mockito/pull/1948)
- Move spotless check to separate build task [(#1946)](https://togithub.com/mockito/mockito/pull/1946)
- \[Travis] Replace JDK 9/10 with 14 [(#1945)](https://togithub.com/mockito/mockito/pull/1945)
- Fixes [#1898](https://togithub.com/mockito/mockito/issues/1898) : Return mock name from toString method for deep stub mocks [(#1942)](https://togithub.com/mockito/mockito/pull/1942)
- \[checkstyle] switch to new DTD [(#1940)](https://togithub.com/mockito/mockito/pull/1940)
- Use google-java-format in spotless [(#1934)](https://togithub.com/mockito/mockito/pull/1934)
- Update report message to use any() instead of anyObject() [(#1931)](https://togithub.com/mockito/mockito/pull/1931)
- \[build] bump gradle to latest 5.x release [(#1923)](https://togithub.com/mockito/mockito/pull/1923)
- \[build] update gradle-errorprone-plugin to 1.1.0 [(#1908)](https://togithub.com/mockito/mockito/pull/1908)
- RETURNS_DEEP_STUBS override a mock's toString to `null` [(#1898)](https://togithub.com/mockito/mockito/issues/1898)
- "description" not printing when verify args don't match [(#1712)](https://togithub.com/mockito/mockito/issues/1712)
### [`v3.3.3`](https://togithub.com/mockito/mockito/releases/tag/v3.3.3)
*Release notes were automatically generated by [Shipkit](http://shipkit.org/)*
##### 3.3.3
- 2020-03-13 - [1 commit](https://togithub.com/
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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.
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
2.28.2
->4.8.0
Release Notes
mockito/mockito
### [`v4.8.0`](https://togithub.com/mockito/mockito/releases/tag/v4.8.0) [Compare Source](https://togithub.com/mockito/mockito/compare/v4.7.0...v4.8.0) *Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)* ##### 4.8.0 - 2022-09-07 - [10 commit(s)](https://togithub.com/mockito/mockito/compare/v4.7.0...v4.8.0) by Alex, James Baker, Johannes Spangenberg, Kurt Alfred Kluever, Rafael Winterhalter, Thibault Helsmoortel, dependabot\[bot] - GitHub Workflows security hardening [(#2744)](https://togithub.com/mockito/mockito/pull/2744) - Assign GlobalConfiguration initializer to unused variable [(#2742)](https://togithub.com/mockito/mockito/pull/2742) - Bump com.diffplug.spotless from 6.9.1 to 6.10.0 [(#2738)](https://togithub.com/mockito/mockito/pull/2738) - Drop varargs collector before invoking a user method. [(#2736)](https://togithub.com/mockito/mockito/pull/2736) - Bump versions.bytebuddy from 1.12.13 to 1.12.14 [(#2734)](https://togithub.com/mockito/mockito/pull/2734) - Remove useless thrown exception from constructor [(#2732)](https://togithub.com/mockito/mockito/pull/2732) - TypeSafeMatching no longer iterates over class methods inefficiently [(#2729)](https://togithub.com/mockito/mockito/pull/2729) - Fixes [#2720](https://togithub.com/mockito/mockito/issues/2720): Use StackWalker on Java 9+ to create Locations [(#2723)](https://togithub.com/mockito/mockito/pull/2723) - LocationImpl adds performance overheads due to instantiating a stack trace [(#2720)](https://togithub.com/mockito/mockito/issues/2720) - Fixes [#2626](https://togithub.com/mockito/mockito/issues/2626) : Introduce MockSettings.mockMaker [(#2701)](https://togithub.com/mockito/mockito/pull/2701) - Introduce option to disable inline-mock-maker for a specific instance [(#2626)](https://togithub.com/mockito/mockito/issues/2626) ### [`v4.7.0`](https://togithub.com/mockito/mockito/releases/tag/v4.7.0) *Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)* ##### 4.7.0 - 2022-08-13 - [33 commit(s)](https://togithub.com/mockito/mockito/compare/v4.6.1...v4.7.0) by [`1988123`](https://togithub.com/mockito/mockito/commit/198812345678), Andy Coates, Chen Ni, Marius Lichtblau, Nikita Koselev. Developer Advocate, Open Source Ally, Rafael Winterhalter, dependabot\[bot], dstango, fishautumn, heqiang - Bump com.diffplug.spotless from 6.9.0 to 6.9.1 [(#2725)](https://togithub.com/mockito/mockito/pull/2725) - Bump versions.bytebuddy from 1.12.12 to 1.12.13 [(#2719)](https://togithub.com/mockito/mockito/pull/2719) - Fix Javadoc for Mockito. [(#2718)](https://togithub.com/mockito/mockito/pull/2718) - Bump com.diffplug.spotless from 6.8.0 to 6.9.0 [(#2717)](https://togithub.com/mockito/mockito/pull/2717) - Fix a typo in comment of InternalRunner.java [(#2715)](https://togithub.com/mockito/mockito/pull/2715) - Bump junit-platform-launcher from 1.8.2 to 1.9.0 [(#2713)](https://togithub.com/mockito/mockito/pull/2713) - Bump versions.junitJupiter from 5.8.2 to 5.9.0 [(#2712)](https://togithub.com/mockito/mockito/pull/2712) - Bump groovy from 3.0.11 to 3.0.12 [(#2711)](https://togithub.com/mockito/mockito/pull/2711) - Bump shipkit-auto-version from 1.2.0 to 1.2.1 [(#2709)](https://togithub.com/mockito/mockito/pull/2709) - Bump kotlinVersion from 1.7.0 to 1.7.10 [(#2705)](https://togithub.com/mockito/mockito/pull/2705) - Bump com.diffplug.spotless from 6.7.2 to 6.8.0 [(#2699)](https://togithub.com/mockito/mockito/pull/2699) - Bump versions.bytebuddy from 1.12.11 to 1.12.12 [(#2695)](https://togithub.com/mockito/mockito/pull/2695) - Makes error message less misleading and points to github for help. Issue [#2692](https://togithub.com/mockito/mockito/issues/2692) [(#2693)](https://togithub.com/mockito/mockito/pull/2693) - Misleading error message when mocking and a class (of a parameter) is not found [(#2692)](https://togithub.com/mockito/mockito/issues/2692) - Bump kotlinx-coroutines-core from 1.6.1-native-mt to 1.6.3-native-mt [(#2691)](https://togithub.com/mockito/mockito/pull/2691) - Bump versions.bytebuddy from 1.12.10 to 1.12.11 [(#2690)](https://togithub.com/mockito/mockito/pull/2690) - Fixes [#2679](https://togithub.com/mockito/mockito/issues/2679) : Update Javadoc [(#2689)](https://togithub.com/mockito/mockito/pull/2689) - Bump org.eclipse.osgi from 3.17.200 to 3.18.0 [(#2688)](https://togithub.com/mockito/mockito/pull/2688) - RETURNS_SELF: Avoids returning mock when mock type is assignable to method return type, but method return type is Object. [(#2687)](https://togithub.com/mockito/mockito/pull/2687) - RETURNS_SELF breaks methods with generic return type [(#2686)](https://togithub.com/mockito/mockito/issues/2686) - Fix [#2616](https://togithub.com/mockito/mockito/issues/2616) wrong stub for nested static [(#2685)](https://togithub.com/mockito/mockito/pull/2685) - Bump com.diffplug.spotless from 6.7.0 to 6.7.2 [(#2684)](https://togithub.com/mockito/mockito/pull/2684) - Avoids starting mocks "half-way" if a superclass constructor is mocked but an unmocked subclass is initiated. [(#2682)](https://togithub.com/mockito/mockito/pull/2682) - Fix typo [(#2681)](https://togithub.com/mockito/mockito/pull/2681) - Update javadoc of `Strictness.STRICT_STUBS` [(#2679)](https://togithub.com/mockito/mockito/issues/2679) - Bump kotlinVersion from 1.6.21 to 1.7.0 [(#2677)](https://togithub.com/mockito/mockito/pull/2677) - Bump biz.aQute.bnd.builder from 6.3.0 to 6.3.1 [(#2675)](https://togithub.com/mockito/mockito/pull/2675) - Bump biz.aQute.bnd.gradle from 6.3.0 to 6.3.1 [(#2674)](https://togithub.com/mockito/mockito/pull/2674) - Bump com.diffplug.spotless from 6.6.1 to 6.7.0 [(#2672)](https://togithub.com/mockito/mockito/pull/2672) - update CONTRIBUTING.md - stackoverflow [(#2671)](https://togithub.com/mockito/mockito/pull/2671) - stackoverflow.com is a non-actionable text, to be replaced with a hyperlink [(#2670)](https://togithub.com/mockito/mockito/issues/2670) - Fix typos [(#2669)](https://togithub.com/mockito/mockito/pull/2669) - Bump biz.aQute.bnd.gradle from 6.2.0 to 6.3.0 [(#2666)](https://togithub.com/mockito/mockito/pull/2666) - Bump biz.aQute.bnd.builder from 6.2.0 to 6.3.0 [(#2665)](https://togithub.com/mockito/mockito/pull/2665) - Improve Varargs handling in AdditionalAnswers [(#2664)](https://togithub.com/mockito/mockito/pull/2664) - Bump appcompat from 1.4.1 to 1.4.2 [(#2663)](https://togithub.com/mockito/mockito/pull/2663) - Varargs methods cause `ClassCastException` in `AnswerFunctionalInterfaces` [(#2644)](https://togithub.com/mockito/mockito/issues/2644) - Mock static class seems records wrong invocations if called nested method throws exception [(#2616)](https://togithub.com/mockito/mockito/issues/2616) ### [`v4.6.1`](https://togithub.com/mockito/mockito/releases/tag/v4.6.1) [Compare Source](https://togithub.com/mockito/mockito/compare/v4.6.0...v4.6.1) *Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)* ##### 4.6.1 - 2022-06-02 - [6 commit(s)](https://togithub.com/mockito/mockito/compare/v4.6.0...v4.6.1) by Andy Coates, Chen Ni, dependabot\[bot] - Bump material from 1.6.0 to 1.6.1 [(#2662)](https://togithub.com/mockito/mockito/pull/2662) - Bump core-ktx from 1.7.0 to 1.8.0 [(#2661)](https://togithub.com/mockito/mockito/pull/2661) - Bump groovy from 3.0.10 to 3.0.11 [(#2660)](https://togithub.com/mockito/mockito/pull/2660) - Fix for Issue2656 [(#2659)](https://togithub.com/mockito/mockito/pull/2659) - Bump assertj-core from 3.22.0 to 3.23.1 [(#2658)](https://togithub.com/mockito/mockito/pull/2658) - Regression? Strictness set in `@MockitoSettings` ignored after upgrade from 4.5.1 to 4.6.0 [(#2656)](https://togithub.com/mockito/mockito/issues/2656) - Fix typo [(#2655)](https://togithub.com/mockito/mockito/pull/2655) ### [`v4.6.0`](https://togithub.com/mockito/mockito/releases/tag/v4.6.0) [Compare Source](https://togithub.com/mockito/mockito/compare/v4.5.1...v4.6.0) *Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)* ##### 4.6.0 - 2022-05-27 - [14 commit(s)](https://togithub.com/mockito/mockito/compare/v4.5.1...v4.6.0) by Hervé Boutemy, K. Siva Prasad Reddy, Rafael Winterhalter, dependabot\[bot] - Bump shipkit-changelog from 1.1.15 to 1.2.0 [(#2654)](https://togithub.com/mockito/mockito/pull/2654) - Bump versions.errorprone from 2.13.1 to 2.14.0 [(#2653)](https://togithub.com/mockito/mockito/pull/2653) - Bump shipkit-auto-version from 1.1.20 to 1.2.0 [(#2651)](https://togithub.com/mockito/mockito/pull/2651) - Fixes [#2648](https://togithub.com/mockito/mockito/issues/2648) : Add support for customising strictness via [@Mock](https://togithub.com/Mock) annotation and MockSettings [(#2650)](https://togithub.com/mockito/mockito/pull/2650) - Any way to enable Strict Stubbing when using Mockito.mock() without using [@Mock](https://togithub.com/Mock)? [(#2648)](https://togithub.com/mockito/mockito/issues/2648) - Reintroduce inheriting type annotations from interfaces if only one interface is mocked, including additional interfaces. [(#2645)](https://togithub.com/mockito/mockito/pull/2645) - Bump com.diffplug.spotless from 6.6.0 to 6.6.1 [(#2643)](https://togithub.com/mockito/mockito/pull/2643) - fix Reproducible Build issue [(#2642)](https://togithub.com/mockito/mockito/pull/2642) - Bump com.diffplug.spotless from 6.5.2 to 6.6.0 [(#2641)](https://togithub.com/mockito/mockito/pull/2641) - Mockito mock of interfaces lost annotation information [(#2640)](https://togithub.com/mockito/mockito/issues/2640) - Bump material from 1.5.0 to 1.6.0 [(#2637)](https://togithub.com/mockito/mockito/pull/2637) - Bump com.diffplug.spotless from 6.5.1 to 6.5.2 [(#2636)](https://togithub.com/mockito/mockito/pull/2636) - Bump versions.bytebuddy from 1.12.9 to 1.12.10 [(#2635)](https://togithub.com/mockito/mockito/pull/2635) - Bump com.diffplug.spotless from 6.5.0 to 6.5.1 [(#2632)](https://togithub.com/mockito/mockito/pull/2632) - Bump com.diffplug.spotless from 6.4.2 to 6.5.0 [(#2631)](https://togithub.com/mockito/mockito/pull/2631) ### [`v4.5.1`](https://togithub.com/mockito/mockito/releases/tag/v4.5.1) [Compare Source](https://togithub.com/mockito/mockito/compare/v4.5.0...v4.5.1) *Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)* ##### 4.5.1 - 2022-04-21 - [2 commit(s)](https://togithub.com/mockito/mockito/compare/v4.5.0...v4.5.1) by Jeremy Landis, dependabot\[bot] - Fixes [#2623](https://togithub.com/mockito/mockito/issues/2623): Use zulu distribution and java 11 for release GHA job [(#2624)](https://togithub.com/mockito/mockito/pull/2624) - Missing errorprone module for 4.5.0 in central as release was done with jdk 8 [(#2623)](https://togithub.com/mockito/mockito/issues/2623) - Bump kotlinVersion from 1.6.20 to 1.6.21 [(#2622)](https://togithub.com/mockito/mockito/pull/2622) #### Missing `net.bytebuddy.utility.GraalImageCode` exception If you encounter any issues with missing ByteBuddy classes, make sure you are using ByteBuddy 1.12 or higher. ### [`v4.5.0`](https://togithub.com/mockito/mockito/releases/tag/v4.5.0) [Compare Source](https://togithub.com/mockito/mockito/compare/v4.4.0...v4.5.0) *Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)* ##### 4.5.0 - 2022-04-19 - [15 commit(s)](https://togithub.com/mockito/mockito/compare/v4.4.0...v4.5.0) by Andrei Silviu Dragnea, Rafael Winterhalter, Rick Ossendrijver, dependabot\[bot] - Bump versions.errorprone from 2.13.0 to 2.13.1 [(#2621)](https://togithub.com/mockito/mockito/pull/2621) - Bump versions.errorprone from 2.12.1 to 2.13.0 [(#2619)](https://togithub.com/mockito/mockito/pull/2619) - Groovy inline [(#2618)](https://togithub.com/mockito/mockito/pull/2618) - Bump actions/setup-java from 2 to 3 [(#2615)](https://togithub.com/mockito/mockito/pull/2615) - Bump versions.bytebuddy from 1.12.8 to 1.12.9 [(#2614)](https://togithub.com/mockito/mockito/pull/2614) - Support subclass mocks on Graal VM. [(#2613)](https://togithub.com/mockito/mockito/pull/2613) - Bump com.diffplug.spotless from 6.4.1 to 6.4.2 [(#2611)](https://togithub.com/mockito/mockito/pull/2611) - Bump kotlinx-coroutines-core from 1.6.0-native-mt to 1.6.1-native-mt [(#2609)](https://togithub.com/mockito/mockito/pull/2609) - Bump versions.errorprone from 2.10.0 to 2.12.1 [(#2608)](https://togithub.com/mockito/mockito/pull/2608) - Bump kotlinVersion from 1.6.10 to 1.6.20 [(#2607)](https://togithub.com/mockito/mockito/pull/2607) - Bump com.diffplug.spotless from 6.4.0 to 6.4.1 [(#2606)](https://togithub.com/mockito/mockito/pull/2606) - Bump com.diffplug.spotless from 6.3.0 to 6.4.0 [(#2605)](https://togithub.com/mockito/mockito/pull/2605) - Bump org.eclipse.osgi from 3.17.100 to 3.17.200 [(#2597)](https://togithub.com/mockito/mockito/pull/2597) - Deprecate ListUtil and Fields classes [(#2593)](https://togithub.com/mockito/mockito/pull/2593) - mockito-errorprone seems not compatible with ErrorProne 2.11.0 [(#2554)](https://togithub.com/mockito/mockito/issues/2554) - NullPointerException from Groovy metaclass methods when using mockito-inline (but not mockito-core) [(#2522)](https://togithub.com/mockito/mockito/issues/2522) ### [`v4.4.0`](https://togithub.com/mockito/mockito/releases/tag/v4.4.0) *Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)* ##### 4.4.0 - 2022-03-08 - [16 commit(s)](https://togithub.com/mockito/mockito/compare/v4.3.1...v4.4.0) by Andrew Kozel, Brice Dutheil, Jean-Baptiste Mille, Mirko Alicastro, dependabot\[bot] - Bump groovy from 3.0.9 to 3.0.10 [(#2586)](https://togithub.com/mockito/mockito/pull/2586) - Bump google-java-format from 1.14.0 to 1.15.0 [(#2585)](https://togithub.com/mockito/mockito/pull/2585) - Bump actions/checkout from 2.4.0 to 3 [(#2582)](https://togithub.com/mockito/mockito/pull/2582) - Bump shipkit-auto-version from 1.1.19 to 1.1.20 [(#2580)](https://togithub.com/mockito/mockito/pull/2580) - Bump biz.aQute.bnd.builder from 6.1.0 to 6.2.0 [(#2579)](https://togithub.com/mockito/mockito/pull/2579) - Bump biz.aQute.bnd.gradle from 6.1.0 to 6.2.0 [(#2578)](https://togithub.com/mockito/mockito/pull/2578) - Adds a Google Java Format for JDK17 [(#2572)](https://togithub.com/mockito/mockito/pull/2572) - Clean up JUnit3 references [(#2570)](https://togithub.com/mockito/mockito/pull/2570) - Bump com.diffplug.spotless from 6.2.2 to 6.3.0 [(#2567)](https://togithub.com/mockito/mockito/pull/2567) - Bump google-java-format from 1.13.0 to 1.14.0 [(#2565)](https://togithub.com/mockito/mockito/pull/2565) - Bump versions.bytebuddy from 1.12.7 to 1.12.8 [(#2564)](https://togithub.com/mockito/mockito/pull/2564) - Bump com.diffplug.spotless from 6.2.1 to 6.2.2 [(#2562)](https://togithub.com/mockito/mockito/pull/2562) - Bump com.github.ben-manes.versions from 0.41.0 to 0.42.0 [(#2559)](https://togithub.com/mockito/mockito/pull/2559) - Bump com.diffplug.spotless from 6.2.0 to 6.2.1 [(#2556)](https://togithub.com/mockito/mockito/pull/2556) - Fixes [#2548](https://togithub.com/mockito/mockito/issues/2548) : Makes InOrder able to verify static methods [(#2549)](https://togithub.com/mockito/mockito/pull/2549) - \[PR open] Add feature to verify static methods calls in order [(#2548)](https://togithub.com/mockito/mockito/issues/2548) - Fixes [#2201](https://togithub.com/mockito/mockito/issues/2201) : Fixed checking of declared exceptions. [(#2547)](https://togithub.com/mockito/mockito/pull/2547) - Calling getExceptionTypes() on concrete object that is used as interface doesn't return exception types from interface [(#2201)](https://togithub.com/mockito/mockito/issues/2201) ### [`v4.3.1`](https://togithub.com/mockito/mockito/releases/tag/v4.3.1) *Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)* ##### 4.3.1 - 2022-01-25 - [1 commit(s)](https://togithub.com/mockito/mockito/compare/v4.3.0...v4.3.1) by Stefano Cordio - Add `mockito-core` to the BOM [(#2550)](https://togithub.com/mockito/mockito/pull/2550) ### [`v4.3.0`](https://togithub.com/mockito/mockito/releases/tag/v4.3.0) *Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)* ##### 4.3.0 - 2022-01-24 - [20 commit(s)](https://togithub.com/mockito/mockito/compare/v4.2.0...v4.3.0) by Andrew Kozel, John Pyeatt, Liam Miller-Cushon, Thomas Keller, Tim van der Lippe, dependabot\[bot], temp-droid - Fixes [#2489](https://togithub.com/mockito/mockito/issues/2489) : Fixed issue related to exceptions thrown from the nested spies [(#2546)](https://togithub.com/mockito/mockito/pull/2546) - Issue 2544 [(#2545)](https://togithub.com/mockito/mockito/pull/2545) - Bump versions.bytebuddy from 1.12.6 to 1.12.7 [(#2543)](https://togithub.com/mockito/mockito/pull/2543) - Bump com.diffplug.spotless from 6.1.2 to 6.2.0 [(#2542)](https://togithub.com/mockito/mockito/pull/2542) - Bump material from 1.4.0 to 1.5.0 [(#2541)](https://togithub.com/mockito/mockito/pull/2541) - Bump appcompat from 1.4.0 to 1.4.1 [(#2539)](https://togithub.com/mockito/mockito/pull/2539) - Bump com.diffplug.spotless from 6.1.1 to 6.1.2 [(#2536)](https://togithub.com/mockito/mockito/pull/2536) - Remove an `@link` [(#2535)](https://togithub.com/mockito/mockito/pull/2535) - Bump com.diffplug.spotless from 6.1.0 to 6.1.1 [(#2534)](https://togithub.com/mockito/mockito/pull/2534) - Bump com.github.ben-manes.versions from 0.40.0 to 0.41.0 [(#2533)](https://togithub.com/mockito/mockito/pull/2533) - Bump assertj-core from 3.21.0 to 3.22.0 [(#2531)](https://togithub.com/mockito/mockito/pull/2531) - Bump com.github.ben-manes.versions from 0.39.0 to 0.40.0 [(#2529)](https://togithub.com/mockito/mockito/pull/2529) - Bump com.diffplug.spotless from 6.0.5 to 6.1.0 [(#2527)](https://togithub.com/mockito/mockito/pull/2527) - Bump kotlinx-coroutines-core from 1.5.2-native-mt to 1.6.0-native-mt [(#2526)](https://togithub.com/mockito/mockito/pull/2526) - Bump versions.bytebuddy from 1.12.5 to 1.12.6 [(#2524)](https://togithub.com/mockito/mockito/pull/2524) - Bump com.diffplug.spotless from 6.0.4 to 6.0.5 [(#2520)](https://togithub.com/mockito/mockito/pull/2520) - Bump versions.bytebuddy from 1.12.4 to 1.12.5 [(#2519)](https://togithub.com/mockito/mockito/pull/2519) - Fixes [#2510](https://togithub.com/mockito/mockito/issues/2510): Remove ExpectedException from internal test suite [(#2518)](https://togithub.com/mockito/mockito/pull/2518) - Fix JavaDoc warnings and enforce zero errors in Gradle [(#2513)](https://togithub.com/mockito/mockito/pull/2513) - Remove `ExpectedException` from internal test suite [(#2510)](https://togithub.com/mockito/mockito/issues/2510) - Incomplete stack trace returned from spy inside another spy [(#2489)](https://togithub.com/mockito/mockito/issues/2489) - Introduce a BOM for Mockito's artifacts (closes [#2321](https://togithub.com/mockito/mockito/issues/2321)) [(#2323)](https://togithub.com/mockito/mockito/pull/2323) - Provide a bill of materials (BOM) [(#2321)](https://togithub.com/mockito/mockito/issues/2321) ### [`v4.2.0`](https://togithub.com/mockito/mockito/releases/tag/v4.2.0) [Compare Source](https://togithub.com/mockito/mockito/compare/v4.1.0...v4.2.0) *Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)* ##### 4.2.0 - 2021-12-16 - [21 commit(s)](https://togithub.com/mockito/mockito/compare/v4.1.0...v4.2.0) by Liam Miller-Cushon, Rafael Winterhalter, Tim van der Lippe, dependabot\[bot], temp-droid - Update ByteBuddy to 1.12.4 [(#2515)](https://togithub.com/mockito/mockito/pull/2515) - Bump kotlinVersion from 1.6.0 to 1.6.10 [(#2514)](https://togithub.com/mockito/mockito/pull/2514) - Add DoNotMock mention to main JavaDoc [(#2512)](https://togithub.com/mockito/mockito/pull/2512) - Replace ExpectedException in MissingInvocationInOrderCheckerTest [(#2511)](https://togithub.com/mockito/mockito/pull/2511) - Update Gradle to version 7.3.1 [(#2509)](https://togithub.com/mockito/mockito/pull/2509) - Fixes [#2497](https://togithub.com/mockito/mockito/issues/2497): Throw exception on invalid matchers for `mockStatic` [(#2506)](https://togithub.com/mockito/mockito/pull/2506) - Make sure interface types are initialized before inline mocking to avoid blocking code of static initializers. [(#2505)](https://togithub.com/mockito/mockito/pull/2505) - Bump org.eclipse.osgi from 3.17.0 to 3.17.100 [(#2504)](https://togithub.com/mockito/mockito/pull/2504) - Bump com.diffplug.spotless from 6.0.2 to 6.0.4 [(#2501)](https://togithub.com/mockito/mockito/pull/2501) - Bump com.diffplug.spotless from 6.0.1 to 6.0.2 [(#2498)](https://togithub.com/mockito/mockito/pull/2498) - ArgumentMatchers not working for Mockito.mockStatic [(#2497)](https://togithub.com/mockito/mockito/issues/2497) - Bump versions.bytebuddy from 1.12.2 to 1.12.3 [(#2496)](https://togithub.com/mockito/mockito/pull/2496) - Bump com.diffplug.spotless from 6.0.0 to 6.0.1 [(#2495)](https://togithub.com/mockito/mockito/pull/2495) - Remove the recommendation to import ArgumentMatchers methods using Mockito [(#2494)](https://togithub.com/mockito/mockito/pull/2494) - Bump versions.junitJupiter from 5.8.1 to 5.8.2 [(#2491)](https://togithub.com/mockito/mockito/pull/2491) - Bump junit-platform-launcher from 1.8.1 to 1.8.2 [(#2490)](https://togithub.com/mockito/mockito/pull/2490) - Fix typo 'DoNoMock' should be 'DoNotMock' [(#2487)](https://togithub.com/mockito/mockito/pull/2487) - Bump biz.aQute.bnd.gradle from 6.0.0 to 6.1.0 [(#2486)](https://togithub.com/mockito/mockito/pull/2486) - Bump biz.aQute.bnd.builder from 6.0.0 to 6.1.0 [(#2485)](https://togithub.com/mockito/mockito/pull/2485) - Bump versions.bytebuddy from 1.12.1 to 1.12.2 [(#2484)](https://togithub.com/mockito/mockito/pull/2484) - Bump google-java-format from 1.12.0 to 1.13.0 [(#2483)](https://togithub.com/mockito/mockito/pull/2483) - Add annotation to mark a type as DoNotMock [(#1833)](https://togithub.com/mockito/mockito/pull/1833) ### [`v4.1.0`](https://togithub.com/mockito/mockito/releases/tag/v4.1.0) [Compare Source](https://togithub.com/mockito/mockito/compare/v4.0.0...v4.1.0) ##### 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.html *Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)* ##### 4.1.0 - 2021-11-19 - [20 commit(s)](https://togithub.com/mockito/mockito/compare/v4.0.0...v4.1.0) by Lars Vogel, Mikaël Francoeur, S.YAMAMOTO, Tim van der Lippe, dependabot\[bot] - Disable memory test [(#2480)](https://togithub.com/mockito/mockito/pull/2480) - Bump appcompat from 1.3.1 to 1.4.0 [(#2477)](https://togithub.com/mockito/mockito/pull/2477) - Bump kotlinVersion from 1.5.31 to 1.6.0 [(#2474)](https://togithub.com/mockito/mockito/pull/2474) - Bump versions.bytebuddy from 1.12.0 to 1.12.1 [(#2472)](https://togithub.com/mockito/mockito/pull/2472) - Bump com.diffplug.gradle.spotless from 4.5.1 to 6.0.0 [(#2471)](https://togithub.com/mockito/mockito/pull/2471) - Bump versions.bytebuddy from 1.11.22 to 1.12.0 [(#2469)](https://togithub.com/mockito/mockito/pull/2469) - Bump versions.errorprone from 2.9.0 to 2.10.0 [(#2466)](https://togithub.com/mockito/mockito/pull/2466) - Bump auto-service from 1.0 to 1.0.1 [(#2463)](https://togithub.com/mockito/mockito/pull/2463) - Bump actions/checkout from 2.3.5 to 2.4.0 [(#2462)](https://togithub.com/mockito/mockito/pull/2462) - Fixes [#2460](https://togithub.com/mockito/mockito/issues/2460): Remove a sentence commits to a particular version [(#2461)](https://togithub.com/mockito/mockito/pull/2461) - Clarify Javadoc of RETURNS_SMART_NULLS, default answer in Mockito 4.0.0? [(#2460)](https://togithub.com/mockito/mockito/issues/2460) - Bump versions.bytebuddy from 1.11.21 to 1.11.22 [(#2458)](https://togithub.com/mockito/mockito/pull/2458) - Updated readme with the latest Mockito version [(#2456)](https://togithub.com/mockito/mockito/pull/2456) - Bump core-ktx from 1.6.0 to 1.7.0 [(#2454)](https://togithub.com/mockito/mockito/pull/2454) - Bump google-java-format from 1.11.0 to 1.12.0 [(#2450)](https://togithub.com/mockito/mockito/pull/2450) - Bump versions.bytebuddy from 1.11.20 to 1.11.21 [(#2448)](https://togithub.com/mockito/mockito/pull/2448) - Use new CodeCov uploader [(#2447)](https://togithub.com/mockito/mockito/pull/2447) - Bump actions/checkout from 2.3.4 to 2.3.5 [(#2445)](https://togithub.com/mockito/mockito/pull/2445) - Fixes [#2389](https://togithub.com/mockito/mockito/issues/2389) : Parallel use of mocks with deep stubbing may lead to ConcurrentModificationException [(#2444)](https://togithub.com/mockito/mockito/pull/2444) - Bump versions.bytebuddy from 1.11.19 to 1.11.20 [(#2443)](https://togithub.com/mockito/mockito/pull/2443) - Parallel use of mocks with deep stubbing may lead to ConcurrentModificationException [(#2389)](https://togithub.com/mockito/mockito/issues/2389) - Add annotation to mark a type as DoNotMock [(#1833)](https://togithub.com/mockito/mockito/pull/1833) - Cannot mock this class: class java.io.InputStream with Java 13 [(#1827)](https://togithub.com/mockito/mockito/issues/1827) - Cannot mock wrapper types, String.class or Class.class [(#1734)](https://togithub.com/mockito/mockito/issues/1734) ### [`v4.0.0`](https://togithub.com/mockito/mockito/releases/tag/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. ### [`v3.12.4`](https://togithub.com/mockito/mockito/releases/tag/v3.12.4) *Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)* ##### 3.12.4 - 2021-08-25 - [1 commit(s)](https://togithub.com/mockito/mockito/compare/v3.12.3...v3.12.4) by Rafael Winterhalter - No notable improvements. No pull requests (issues) were referenced from commits. ### [`v3.12.3`](https://togithub.com/mockito/mockito/releases/tag/v3.12.3) *Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)* ##### 3.12.3 - 2021-08-24 - [9 commit(s)](https://togithub.com/mockito/mockito/compare/v3.12.2...v3.12.3) by Rafael Winterhalter - Fix implementation of proxy mock maker for toString and add additional unit tests. [(#2405)](https://togithub.com/mockito/mockito/pull/2405) - Avoid cache breakage [(#2402)](https://togithub.com/mockito/mockito/pull/2402) - Add a limited mock maker that is based only on the java.lang.reflect.Proxy utility [(#2397)](https://togithub.com/mockito/mockito/pull/2397) ### [`v3.12.2`](https://togithub.com/mockito/mockito/releases/tag/v3.12.2) *Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)* ##### 3.12.2 - 2021-08-24 - [2 commit(s)](https://togithub.com/mockito/mockito/compare/v3.12.1...v3.12.2) by Dmitry Vyazelenko, dependabot\[bot] - Fixes [#2399](https://togithub.com/mockito/mockito/issues/2399) : Adds defaultAnswer to the MockitoMockKey to distinguish the mock types, i.e. to separate mocks from spies otherwise spy type is reused for a mock or vice versa. [(#2400)](https://togithub.com/mockito/mockito/pull/2400) - Sporadic mock verification failures related to hashCode/equals on 3.12.1 [(#2399)](https://togithub.com/mockito/mockito/issues/2399) - Bump versions.errorprone from 2.8.1 to 2.9.0 [(#2396)](https://togithub.com/mockito/mockito/pull/2396) ### [`v3.12.1`](https://togithub.com/mockito/mockito/releases/tag/v3.12.1) *Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)* ##### 3.12.1 - 2021-08-20 - [2 commit(s)](https://togithub.com/mockito/mockito/compare/v3.12.0...v3.12.1) by Tim van der Lippe, dependabot\[bot] - Fix verifyNoMoreInteractions inOrder invocations for spies [(#2395)](https://togithub.com/mockito/mockito/pull/2395) - Regression with InOrder verification after [#2369](https://togithub.com/mockito/mockito/issues/2369) [(#2394)](https://togithub.com/mockito/mockito/issues/2394) - Bump versions.bytebuddy from 1.11.12 to 1.11.13 [(#2393)](https://togithub.com/mockito/mockito/pull/2393) ### [`v3.12.0`](https://togithub.com/mockito/mockito/releases/tag/v3.12.0) *Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)* ##### 3.12.0 - 2021-08-19 - [31 commit(s)](https://togithub.com/mockito/mockito/compare/v3.11.2...v3.12.0) by EugeneLesnov, Lars Vogel, Logan Rosen, Rafael Winterhalter, Rob Pridham, Tim van der Lippe, dependabot\[bot], saurabh7248 - Add checks for sealed types [(#2392)](https://togithub.com/mockito/mockito/pull/2392) - Bump versions.bytebuddy from 1.11.10 to 1.11.12 [(#2388)](https://togithub.com/mockito/mockito/pull/2388) - Bump versions.bytebuddy from 1.11.9 to 1.11.10 [(#2387)](https://togithub.com/mockito/mockito/pull/2387) - Bump versions.errorprone from 2.8.0 to 2.8.1 [(#2386)](https://togithub.com/mockito/mockito/pull/2386) - Update StaticMockTest to use unified verify method [(#2385)](https://togithub.com/mockito/mockito/pull/2385) - Reorder InjectMock Javadoc to fit the order of injection [(#2383)](https://togithub.com/mockito/mockito/pull/2383) - Bump core-ktx from 1.5.0 to 1.6.0 [(#2382)](https://togithub.com/mockito/mockito/pull/2382) - Bump google-java-format from 1.10.0 to 1.11.0 [(#2381)](https://togithub.com/mockito/mockito/pull/2381) - Downgrade Android gradle plugin [(#2380)](https://togithub.com/mockito/mockito/pull/2380) - Applied [@CheckReturnValue](https://togithub.com/CheckReturnValue) to some classes [(#2379)](https://togithub.com/mockito/mockito/pull/2379) - how to solve gradle sync failed after 'Add basic Android instrumented and unit tests' [(#2378)](https://togithub.com/mockito/mockito/issues/2378) - Bump junit from 1.1.2 to 1.1.3 [(#2377)](https://togithub.com/mockito/mockito/pull/2377) - Bump appcompat from 1.3.0 to 1.3.1 [(#2376)](https://togithub.com/mockito/mockito/pull/2376) - Bump kotlin-gradle-plugin from 1.5.20 to 1.5.21 [(#2374)](https://togithub.com/mockito/mockito/pull/2374) - Bump material from 1.3.0 to 1.4.0 [(#2373)](https://togithub.com/mockito/mockito/pull/2373) - Bump espresso-core from 3.3.0 to 3.4.0 [(#2372)](https://togithub.com/mockito/mockito/pull/2372) - Fixes [#2331](https://togithub.com/mockito/mockito/issues/2331) [(#2369)](https://togithub.com/mockito/mockito/pull/2369) - Fix typo in exception [(#2368)](https://togithub.com/mockito/mockito/pull/2368) - Bump versions.bytebuddy from 1.11.8 to 1.11.9 [(#2367)](https://togithub.com/mockito/mockito/pull/2367) - Bump versions.errorprone from 2.7.1 to 2.8.0 [(#2365)](https://togithub.com/mockito/mockito/pull/2365) - Bump versions.bytebuddy from 1.11.7 to 1.11.8 [(#2361)](https://togithub.com/mockito/mockito/pull/2361) - Basic Android instrumented and unit tests (closes [#2341](https://togithub.com/mockito/mockito/issues/2341)) [(#2360)](https://togithub.com/mockito/mockito/pull/2360) - Bump versions.bytebuddy from 1.11.6 to 1.11.7 [(#2359)](https://togithub.com/mockito/mockito/pull/2359) - Bump kotlin-stdlib from 1.5.20 to 1.5.21 [(#2356)](https://togithub.com/mockito/mockito/pull/2356) - Bump kotlinx-coroutines-core from 1.5.1 to 1.5.1-native-mt [(#2354)](https://togithub.com/mockito/mockito/pull/2354) - Bump kotlinx-coroutines-core from 1.5.0-native-mt to 1.5.1 [(#2353)](https://togithub.com/mockito/mockito/pull/2353) - Bump versions.bytebuddy from 1.11.5 to 1.11.6 [(#2351)](https://togithub.com/mockito/mockito/pull/2351) - Bump gradle-errorprone-plugin from 2.0.1 to 2.0.2 [(#2347)](https://togithub.com/mockito/mockito/pull/2347) - Bump kotlin-stdlib from 1.5.10 to 1.5.20 [(#2343)](https://togithub.com/mockito/mockito/pull/2343) - Bump versions.bytebuddy from 1.11.3 to 1.11.5 [(#2337)](https://togithub.com/mockito/mockito/pull/2337) - Bump assertj-core from 3.20.1 to 3.20.2 [(#2336)](https://togithub.com/mockito/mockito/pull/2336) - Spy doesn't forward hashcode/equals to actual object [(#2331)](https://togithub.com/mockito/mockito/issues/2331) - Fixes [#2311](https://togithub.com/mockito/mockito/issues/2311) [(#2320)](https://togithub.com/mockito/mockito/pull/2320) ### [`v3.11.2`](https://togithub.com/mockito/mockito/releases/tag/v3.11.2) [Compare Source](https://togithub.com/mockito/mockito/compare/v3.11.1...v3.11.2) *Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)* ##### 3.11.2 - 2021-06-21 - [5 commit(s)](https://togithub.com/mockito/mockito/compare/v3.11.1...v3.11.2) by dependabot\[bot] - Bump versions.bytebuddy from 1.11.2 to 1.11.3 [(#2333)](https://togithub.com/mockito/mockito/pull/2333) - Bump assertj-core from 3.20.0 to 3.20.1 [(#2332)](https://togithub.com/mockito/mockito/pull/2332) - Bump org.eclipse.osgi from 3.16.200 to 3.16.300 [(#2330)](https://togithub.com/mockito/mockito/pull/2330) - Bump assertj-core from 3.19.0 to 3.20.0 [(#2329)](https://togithub.com/mockito/mockito/pull/2329) - Bump shipkit-auto-version from 1.1.17 to 1.1.19 [(#2328)](https://togithub.com/mockito/mockito/pull/2328) ### [`v3.11.1`](https://togithub.com/mockito/mockito/releases/tag/v3.11.1) *Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)* ##### 3.11.1 - 2021-06-11 - [3 commit(s)](https://togithub.com/mockito/mockito/compare/v3.11.0...v3.11.1) by Charles Munger, dependabot\[bot] - Bump versions.bytebuddy from 1.11.1 to 1.11.2 [(#2322)](https://togithub.com/mockito/mockito/pull/2322) - Check package-privacy of method params [(#2318)](https://togithub.com/mockito/mockito/pull/2318) - Bump shipkit-auto-version from 1.1.16 to 1.1.17 [(#2317)](https://togithub.com/mockito/mockito/pull/2317) ### [`v3.11.0`](https://togithub.com/mockito/mockito/releases/tag/v3.11.0) *Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)* ##### 3.11.0 - 2021-06-03 - [18 commit(s)](https://togithub.com/mockito/mockito/compare/v3.10.0...v3.11.0) by Charles Munger, Szczepan Faber, dependabot\[bot] - Bump versions.bytebuddy from 1.11.0 to 1.11.1 [(#2313)](https://togithub.com/mockito/mockito/pull/2313) - Undo parent for MultipleParentsClassLoader [(#2312)](https://togithub.com/mockito/mockito/pull/2312) - Bump shipkit-auto-version from 1.1.14 to 1.1.16 [(#2310)](https://togithub.com/mockito/mockito/pull/2310) - Bump gradle/wrapper-validation-action from 1.0.3 to 1.0.4 [(#2309)](https://togithub.com/mockito/mockito/pull/2309) - Bump com.github.ben-manes.versions from 0.38.0 to 0.39.0 [(#2308)](https://togithub.com/mockito/mockito/pull/2308) - Bump shipkit-auto-version from 1.1.11 to 1.1.14 [(#2307)](https://togithub.com/mockito/mockito/pull/2307) - Use the parent classloader if the context classloader is a child of it. [(#2306)](https://togithub.com/mockito/mockito/pull/2306) - Bump kotlin-stdlib from 1.5.0 to 1.5.10 [(#2305)](https://togithub.com/mockito/mockito/pull/2305) - "The type is not public and its mock class is loaded by a different class loader" with a context classloader that delegates [(#2303)](https://togithub.com/mockito/mockito/issues/2303) - Enabled automated changelog [(#2301)](https://togithub.com/mockito/mockito/pull/2301) - Bump kotlinx-coroutines-core from 1.4.3-native-mt to 1.5.0-native-mt [(#2299)](https://togithub.com/mockito/mockito/pull/2299) - Bump versions.errorprone from 2.6.0 to 2.7.1 [(#2298)](https://togithub.com/mockito/mockito/pull/2298) - Bump junit-platform-launcher from 1.7.1 to 1.7.2 [(#2297)](https://togithub.com/mockito/mockito/pull/2297) - Bump versions.junitJupiter from 5.7.1 to 5.7.2 [(#2296)](https://togithub.com/mockito/mockito/pull/2296) - Renamed main dev branch [(#2295)](https://togithub.com/mockito/mockito/pull/2295) - Bump gradle/wrapper-validation-action from 1 to 1.0.3 [(#2294)](https://togithub.com/mockito/mockito/pull/2294) - Bump actions/checkout from 2 to 2.3.4 [(#2293)](https://togithub.com/mockito/mockito/pull/2293) - 'this' is not available - when enabling mock-maker-inline [(#2082)](https://togithub.com/mockito/mockito/issues/2082) ### [`v3.10.0`](https://togithub.com/mockito/mockito/releases/tag/v3.10.0) *Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)* ##### 3.10.0 - 2021-05-12 - [0 commit(s)](https://togithub.com/mockito/mockito/compare/HEAD...v3.10.0) by - No notable improvements. No pull requests (issues) were referenced from commits. ### [`v3.8.0`](https://togithub.com/mockito/mockito/releases/tag/v3.8.0) *Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)* ##### 3.8.0 - 2021-02-22 - [1 commit(s)](https://togithub.com/mockito/mockito/compare/v3.7.18...v3.8.0) by Tim van der Lippe - Publish new minor version to Maven central [(#2213)](https://togithub.com/mockito/mockito/pull/2213) ### [`v3.7.7`](https://togithub.com/mockito/mockito/releases/tag/v3.7.7) *Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)* ##### 3.7.7 - 2021-01-16 - [1 commit(s)](https://togithub.com/mockito/mockito/compare/v3.7.6...v3.7.7) by Stefan Bohn - Fix reversed order of verify parameters [(#2179)](https://togithub.com/mockito/mockito/pull/2179) - Feature request: Unify order of parameters [(#2173)](https://togithub.com/mockito/mockito/issues/2173) ### [`v3.7.0`](https://togithub.com/mockito/mockito/releases/tag/v3.7.0) *Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)* ##### 3.7.0 - 2021-01-04 - [2 commit(s)](https://togithub.com/mockito/mockito/compare/v3.6.54...v3.7.0) by Szczepan Faber, Tim van der Lippe - Publish new minor version to Maven central [(#2165)](https://togithub.com/mockito/mockito/pull/2165) ### [`v3.6.28`](https://togithub.com/mockito/mockito/releases/tag/v3.6.28) *Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)* ##### 3.6.28 - 2020-11-25 - [1 commit(s)](https://togithub.com/mockito/mockito/compare/v3.6.27...v3.6.28) by Szczepan Faber - No notable improvements. No pull requests (issues) were referenced from commits. ### [`v3.6.26`](https://togithub.com/mockito/mockito/releases/tag/v3.6.26) *Changelog generated by [Shipkit Changelog Gradle Plugin](https://togithub.com/shipkit/shipkit-changelog)* ##### 3.6.26 - 2020-11-25 - [2 commit(s)](https://togithub.com/mockito/mockito/compare/v3.6.25...v3.6.26) by Szczepan Faber, sfaber - Enabled releases to Maven Central [(#2111)](https://togithub.com/mockito/mockito/pull/2111) ### [`v3.6.0`](https://togithub.com/mockito/mockito/releases/tag/v3.6.0) *Release notes were automatically generated by [Shipkit](http://shipkit.org/)* ##### 3.6.0 - 2020-10-27 - [7 commits](https://togithub.com/mockito/mockito/compare/v3.5.15...v3.6.0) by [Szczepan Faber](https://togithub.com/mockitoguy) (4), [shipkit-org](https://togithub.com/shipkit-org) (2), [Tim van der Lippe](https://togithub.com/TimvdLippe) (1) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.6.0-green.svg)](https://bintray.com/mockito/maven/mockito/3.6.0) - Retry the release [(#2078)](https://togithub.com/mockito/mockito/pull/2078) - Retry 3.6.0 release [(#2077)](https://togithub.com/mockito/mockito/pull/2077) ### [`v3.5.15`](https://togithub.com/mockito/mockito/releases/tag/v3.5.15) *Release notes were automatically generated by [Shipkit](http://shipkit.org/)* ##### 3.5.15 - 2020-10-19 - [4 commits](https://togithub.com/mockito/mockito/compare/v3.5.14...v3.5.15) by [Rafael Winterhalter](https://togithub.com/raphw) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.5.15-green.svg)](https://bintray.com/mockito/maven/mockito/3.5.15) - Mock resolver plugin [(#2042)](https://togithub.com/mockito/mockito/pull/2042) ### [`v3.5.13`](https://togithub.com/mockito/mockito/releases/tag/v3.5.13) *Release notes were automatically generated by [Shipkit](http://shipkit.org/)* ##### 3.5.13 - 2020-09-24 - [1 commit](https://togithub.com/mockito/mockito/compare/v3.5.12...v3.5.13) by [Sinan Kozak](https://togithub.com/kozaxinan) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.5.13-green.svg)](https://bintray.com/mockito/maven/mockito/3.5.13) - Use single version for strictly in mockito-android [(#2053)](https://togithub.com/mockito/mockito/pull/2053) ### [`v3.5.11`](https://togithub.com/mockito/mockito/releases/tag/v3.5.11) *Release notes were automatically generated by [Shipkit](http://shipkit.org/)* ##### 3.5.11 - 2020-09-17 - [2 commits](https://togithub.com/mockito/mockito/compare/v3.5.10...v3.5.11) by [Rafael Winterhalter](https://togithub.com/raphw) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.5.11-green.svg)](https://bintray.com/mockito/maven/mockito/3.5.11) - Do not exclude synthetic constructors from instrumentation. Fixes [#2040](https://togithub.com/mockito/mockito/issues/2040). [(#2046)](https://togithub.com/mockito/mockito/pull/2046) - Mockito.spy(Activity).getBaseContext() returns null on Robolectric 4.4 and Java8 [(#2040)](https://togithub.com/mockito/mockito/issues/2040) ### [`v3.5.10`](https://togithub.com/mockito/mockito/releases/tag/v3.5.10) *Release notes were automatically generated by [Shipkit](http://shipkit.org/)* ##### 3.5.10 - 2020-09-03 - [2 commits](https://togithub.com/mockito/mockito/compare/v3.5.9...v3.5.10) by [Rafael Winterhalter](https://togithub.com/raphw) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.5.10-green.svg)](https://bintray.com/mockito/maven/mockito/3.5.10) - Escape mock during method dispatch on mock to avoid premature garbage collection. [(#2034)](https://togithub.com/mockito/mockito/pull/2034) - Exception "The mock object was garbage collected." [(#1802)](https://togithub.com/mockito/mockito/issues/1802) ### [`v3.5.9`](https://togithub.com/mockito/mockito/releases/tag/v3.5.9) *Release notes were automatically generated by [Shipkit](http://shipkit.org/)* ##### 3.5.9 - 2020-09-01 - [1 commit](https://togithub.com/mockito/mockito/compare/v3.5.8...v3.5.9) by [Sinan Kozak](https://togithub.com/kozaxinan) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.5.9-green.svg)](https://bintray.com/mockito/maven/mockito/3.5.9) - Fixes [#2007](https://togithub.com/mockito/mockito/issues/2007) : Downgrade objenesis version for mockito-android [(#2024)](https://togithub.com/mockito/mockito/pull/2024) - Android instrumentation test packaging fails for mockito-android 3.5.0 with minSdk < 26 [(#2007)](https://togithub.com/mockito/mockito/issues/2007) ### [`v3.5.7`](https://togithub.com/mockito/mockito/releases/tag/v3.5.7) *Release notes were automatically generated by [Shipkit](http://shipkit.org/)* ##### 3.5.7 - 2020-08-25 - [2 commits](https://togithub.com/mockito/mockito/compare/v3.5.6...v3.5.7) by [Rafael Winterhalter](https://togithub.com/raphw) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.5.7-green.svg)](https://bintray.com/mockito/maven/mockito/3.5.7) - Initializes classes prior to instrumentation to avoid uncontrolled code execution. [(#2023)](https://togithub.com/mockito/mockito/pull/2023) - Stackoverflow error when upgrading to v3.5.2 [(#2011)](https://togithub.com/mockito/mockito/issues/2011) ### [`v3.5.6`](https://togithub.com/mockito/mockito/releases/tag/v3.5.6) *Release notes were automatically generated by [Shipkit](http://shipkit.org/)* ##### 3.5.6 - 2020-08-24 - [5 commits](https://togithub.com/mockito/mockito/compare/v3.5.5...v3.5.6) by [Rafael Winterhalter](https://togithub.com/raphw) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.5.6-green.svg)](https://bintray.com/mockito/maven/mockito/3.5.6) - Only apply argument on illegal module access for inline tests if Java version is at least 9. [(#2022)](https://togithub.com/mockito/mockito/pull/2022) - Constructor dispatch [(#2021)](https://togithub.com/mockito/mockito/pull/2021) ### [`v3.5.5`](https://togithub.com/mockito/mockito/releases/tag/v3.5.5) *Release notes were automatically generated by [Shipkit](http://shipkit.org/)* ##### 3.5.5 - 2020-08-22 - [3 commits](https://togithub.com/mockito/mockito/compare/v3.5.4...v3.5.5) by [Rafael Winterhalter](https://togithub.com/raphw) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.5.5-green.svg)](https://bintray.com/mockito/maven/mockito/3.5.5) - Constructor dispatch [(#2020)](https://togithub.com/mockito/mockito/pull/2020) ### [`v3.5.2`](https://togithub.com/mockito/mockito/releases/tag/v3.5.2) *Release notes were automatically generated by [Shipkit](http://shipkit.org/)* ##### 3.5.2 - 2020-08-18 - [1 commit](https://togithub.com/mockito/mockito/compare/v3.5.1...v3.5.2) by [Tim van der Lippe](https://togithub.com/TimvdLippe) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.5.2-green.svg)](https://bintray.com/mockito/maven/mockito/3.5.2) - No pull requests referenced in commit messages. ### [`v3.5.0`](https://togithub.com/mockito/mockito/releases/tag/v3.5.0) *Release notes were automatically generated by [Shipkit](http://shipkit.org/)* ##### 3.5.0 - 2020-08-15 - [9 commits](https://togithub.com/mockito/mockito/compare/v3.4.8...v3.5.0) by [Rafael Winterhalter](https://togithub.com/raphw) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.5.0-green.svg)](https://bintray.com/mockito/maven/mockito/3.5.0) - Pre release 3.5.0 [(#2004)](https://togithub.com/mockito/mockito/pull/2004) ### [`v3.4.6`](https://togithub.com/mockito/mockito/releases/tag/v3.4.6) *Release notes were automatically generated by [Shipkit](http://shipkit.org/)* ##### 3.4.6 - 2020-07-29 - [3 commits](https://togithub.com/mockito/mockito/compare/v3.4.5...v3.4.6) by [Rafael Winterhalter](https://togithub.com/raphw) (2), [Valery Yatsynovich](https://togithub.com/valfirst) (1) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.4.6-green.svg)](https://bintray.com/mockito/maven/mockito/3.4.6) - \[Bugfixes] Do not pass static mocks to regular listener callback. [(#1989)](https://togithub.com/mockito/mockito/pull/1989) - MockitoJUnitRunner causes NPE when using [@Mock](https://togithub.com/Mock) on MockedStatic fields [(#1988)](https://togithub.com/mockito/mockito/issues/1988) - Fixes [#1985](https://togithub.com/mockito/mockito/issues/1985) : Update README to refer the latest documentation [(#1986)](https://togithub.com/mockito/mockito/pull/1986) - README should refer the latest available documentation [(#1985)](https://togithub.com/mockito/mockito/issues/1985) ### [`v3.4.4`](https://togithub.com/mockito/mockito/releases/tag/v3.4.4) *Release notes were automatically generated by [Shipkit](http://shipkit.org/)* ##### 3.4.4 - 2020-07-18 - [2 commits](https://togithub.com/mockito/mockito/compare/v3.4.3...v3.4.4) by [Rafael Winterhalter](https://togithub.com/raphw) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.4.4-green.svg)](https://bintray.com/mockito/maven/mockito/3.4.4) - Fixes [#1855](https://togithub.com/mockito/mockito/issues/1855) and [#939](https://togithub.com/mockito/mockito/issues/939): improve error message when the inline mock maker cannot be used. [(#1974)](https://togithub.com/mockito/mockito/pull/1974) - javax.tools.ToolProvider could not be found in InlineByteBuddyMockMaker [(#1855)](https://togithub.com/mockito/mockito/issues/1855) ### [`v3.4.3`](https://togithub.com/mockito/mockito/releases/tag/v3.4.3) *Release notes were automatically generated by [Shipkit](http://shipkit.org/)* ##### 3.4.3 - 2020-07-17 - [1 commit](https://togithub.com/mockito/mockito/compare/v3.4.2...v3.4.3) by [Robert Chmielowiec](https://togithub.com/chmielowiec) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.4.3-green.svg)](https://bintray.com/mockito/maven/mockito/3.4.3) - Fix Javadoc invalid syntax [(#1978)](https://togithub.com/mockito/mockito/pull/1978) - Broken documentation [(#1977)](https://togithub.com/mockito/mockito/issues/1977) ### [`v3.4.2`](https://togithub.com/mockito/mockito/releases/tag/v3.4.2) *Release notes were automatically generated by [Shipkit](http://shipkit.org/)* ##### 3.4.2 - 2020-07-16 - [2 commits](https://togithub.com/mockito/mockito/compare/v3.4.1...v3.4.2) by [Rafael Winterhalter](https://togithub.com/raphw) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.4.2-green.svg)](https://bintray.com/mockito/maven/mockito/3.4.2) - Fixes [#1967](https://togithub.com/mockito/mockito/issues/1967): Correctly handle mocks with limited life-cycle in listeners. [(#1968)](https://togithub.com/mockito/mockito/pull/1968) - Static method mocks incompatible with MockitoExtension (NotAMockException) [(#1967)](https://togithub.com/mockito/mockito/issues/1967) ### [`v3.4.0`](https://togithub.com/mockito/mockito/releases/tag/v3.4.0) *Release notes were automatically generated by [Shipkit](http://shipkit.org/)* ##### 3.4.0 - 2020-07-10 - [19 commits](https://togithub.com/mockito/mockito/compare/v3.3.12...v3.4.0) by 9 authors - published to [![Bintray](https://img.shields.io/badge/Bintray-3.4.0-green.svg)](https://bintray.com/mockito/maven/mockito/3.4.0) - Commits: [Tim van der Lippe](https://togithub.com/TimvdLippe) (5), [Erhard Pointl](https://togithub.com/epeee) (4), [Rafael Winterhalter](https://togithub.com/raphw) (3), [Eitan Adler](https://togithub.com/grimreaper) (2), adrianriley (1), akluball (1), [Artem Prigoda](https://togithub.com/arteam) (1), [Jamie Tanna](https://togithub.com/jamietanna) (1), [Naoki Takezoe](https://togithub.com/takezoe) (1) - \[Android support] Enable mocking static methods in Mockito [(#1013)](https://togithub.com/mockito/mockito/issues/1013) - Document using `@Mock` with method parameters [(#1961)](https://togithub.com/mockito/mockito/pull/1961) - Documentation: `@Mock` on method parameters [(#1960)](https://togithub.com/mockito/mockito/issues/1960) - Update errorprone gradle plugin to v1.2.1 [(#1958)](https://togithub.com/mockito/mockito/pull/1958) - Update spotless Travis job name to be more descriptive [(#1957)](https://togithub.com/mockito/mockito/pull/1957) - Fix a confusing typo in subclassing error message [(#1953)](https://togithub.com/mockito/mockito/pull/1953) - Update bnd gradle plugin to v5.1.1 [(#1952)](https://togithub.com/mockito/mockito/pull/1952) - Use errorprone 2.4.0 [(#1951)](https://togithub.com/mockito/mockito/pull/1951) - Use jacoco v0.8.5 [(#1950)](https://togithub.com/mockito/mockito/pull/1950) - Fixes [#1712](https://togithub.com/mockito/mockito/issues/1712) : prepend description to AssertionError thrown in verification [(#1949)](https://togithub.com/mockito/mockito/pull/1949) - Update gradle 6 [(#1948)](https://togithub.com/mockito/mockito/pull/1948) - Move spotless check to separate build task [(#1946)](https://togithub.com/mockito/mockito/pull/1946) - \[Travis] Replace JDK 9/10 with 14 [(#1945)](https://togithub.com/mockito/mockito/pull/1945) - Fixes [#1898](https://togithub.com/mockito/mockito/issues/1898) : Return mock name from toString method for deep stub mocks [(#1942)](https://togithub.com/mockito/mockito/pull/1942) - \[checkstyle] switch to new DTD [(#1940)](https://togithub.com/mockito/mockito/pull/1940) - Use google-java-format in spotless [(#1934)](https://togithub.com/mockito/mockito/pull/1934) - Update report message to use any() instead of anyObject() [(#1931)](https://togithub.com/mockito/mockito/pull/1931) - \[build] bump gradle to latest 5.x release [(#1923)](https://togithub.com/mockito/mockito/pull/1923) - \[build] update gradle-errorprone-plugin to 1.1.0 [(#1908)](https://togithub.com/mockito/mockito/pull/1908) - RETURNS_DEEP_STUBS override a mock's toString to `null` [(#1898)](https://togithub.com/mockito/mockito/issues/1898) - "description" not printing when verify args don't match [(#1712)](https://togithub.com/mockito/mockito/issues/1712) ### [`v3.3.3`](https://togithub.com/mockito/mockito/releases/tag/v3.3.3) *Release notes were automatically generated by [Shipkit](http://shipkit.org/)* ##### 3.3.3 - 2020-03-13 - [1 commit](https://togithub.com/Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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.
This PR has been generated by Mend Renovate. View repository job log here.