Most popular Mocking framework for unit tests written in Java
Changelog generated by Shipkit Changelog Gradle Plugin
Strictness.STRICT_STUBS
(#2679)
ClassCastException
in AnswerFunctionalInterfaces
(#2644)
Changelog generated by Shipkit Changelog Gradle Plugin
@MockitoSettings
ignored after upgrade from 4.5.1 to 4.6.0 (#2656)
Changelog generated by Shipkit Changelog Gradle Plugin
Changelog generated by Shipkit Changelog Gradle Plugin
net.bytebuddy.utility.GraalImageCode
exceptionIf you encounter any issues with missing ByteBuddy classes, make sure you are using ByteBuddy 1.12 or higher.
Changelog generated by Shipkit Changelog Gradle Plugin
Changelog generated by Shipkit Changelog Gradle Plugin
Changelog generated by Shipkit Changelog Gradle Plugin
mockito-core
to the BOM (#2550)
Changelog generated by Shipkit Changelog Gradle Plugin
@link
(#2535)
ExpectedException
from internal test suite (#2510)
Changelog generated by Shipkit Changelog Gradle Plugin
mockStatic
(#2506)
@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