python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Apache OpenWebBeans SEContainer throws UnsatisfiedResolutionException
I want to test my classes in an embedded CDI container. For this reason i'm using OpenWebBeans' integration for Junit 5. This is a sample test class:
@Cdi(disableDiscovery = true, classes = {Pbkdf2Pas...

cidra
Votes: 0
Answers: 0
How to unit test methods together with its constraint validators (which some should be mocked out)?
My app has a service layer which is composed by CDI applications scoped beans:
@ApplicationScoped
@Transactional
public class PostService {
@Inject private PostRepository postRepo;
@Inject pri...

cidra
Votes: 0
Answers: 1
Cannot have inject dynamic instance in quarkus when using @Dependent
I am using a library that is not thread safe and I want a fresh instance of that library object whenever I use it. I made a test repo here : https://github.com/lud/test-quarkus-arc
The library comes w...
lud
Votes: 0
Answers: 1