How to Mock EJBs within Jakarta EE?

If you use Mockito as a Test Framework to test your Jakarta EE EJB classes this can be super easy or a horror. At least when you have some older code as the situation was when I run into an strange issue with NullPointerExceptions. The point is that Mockito has changed massively between Version 4 … Continue reading "How to Mock EJBs within Jakarta EE?"