Skip to content

Bump mockito.version from 3.12.1 to 4.1.0

bornholdt requested to merge dependabot/maven/mockito.version-4.1.0 into master

Bumps mockito.version from 3.12.1 to 4.1.0. Updates mockito-core from 3.12.1 to 4.1.0

Release notes

Sourced from mockito-core's releases.

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*

4.1.0

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

... (truncated)

Commits

Updates `mockito-junit-jupiter` from 3.12.1 to 4.1.0
Release notes

Sourced from mockito-junit-jupiter's releases.

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*

4.1.0

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

... (truncated)

Commits

Merge request reports

Loading