Comments (3)
Please ensure you are using the latest version of ByteBuddy which supports Java 22.
from mockito.
@TimvdLippe But as I understand ByteBuddy dependency is added by mockito, isn't it?
from mockito.
It is, but if you have any other dependencies in your project you could be using the wrong version. Check with your dependency management system which version you are using and ensure it is up-to-date.
from mockito.
Related Issues (20)
- ne
- gradle improvements commentary HOT 4
- Mockito takes ~1.5 sec. to mock an interface
- Could you please tell me how this situation works? HOT 3
- Mockito canonical name does not show mock anymore since version 5 HOT 2
- Injecting spies does not work anymore
- Seemingly random java.lang.AssertionError in MockUtil.getMockHandlerOrNull HOT 1
- `MockitoExtension.beforeEach(…)` fails with `NullPointerException`
- cannot mock class for Android Device P+
- Suggestion: add Answers.ALWAYS_THROWS to make it easier to write tests HOT 1
- ArgumentCaptor appears to be doubling/merging results for non-vararg methods
- Accessing a mock after clearInlineMocks could provide much more useful error message.
- `thenCallRealMethod` does not work with JDK 24-ea
- `@Spy` fields initalized by `closable = MockitoAnnotations.openMocks(this)` is not cleared by `closable.close()` for Jqwik HOT 1
- org.mockito.exceptions.base.MockitoException at MockitoExtension
- Newby + Internal problem occurred, please report it. HOT 1
- .attach_pidXXX files generated when using Mockito
- Mockito 5 on WildFly has a llegalStateException in MethodWriter.visitFrame HOT 1
- Unable to compile a thenReturn for a Set<? extends type HOT 1
- Mocking static method does not work with CompletableFuture in different thread HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mockito.