Mocking CDI beans in Quarkus #24909
Replies: 2 comments 1 reply
-
You cannot do that:
You cannot use non static properties in static context |
Beta Was this translation helpful? Give feedback.
0 replies
-
any solution for mocking @dependent beans? I know there's for @Singleton beans, but can't find mention of mocking @dependent beans anywhere. (Bonus question: why don't non normal scopes work with QuarkusMock/InjectMock?) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Mocking CDI beans in Quarkus
Quarkus: Supersonic Subatomic Java
https://quarkus.io/blog/mocking/
Beta Was this translation helpful? Give feedback.
All reactions